:root {
  color-scheme: light dark;
  /* --bg: light-dark(#ffffff, #0a0a0a);
  --text: light-dark(#1f2937, #f3f4f6);
  --surface: light-dark(#f3f4f6, #171717); */
  --primary: #dc3545;
  --success: #198754;
  --warning: #ffc107;
  --danger: #dc3545;
  --dark: #343a40;
  --black: #121212;
  --light: #fefefe;
  --transparent: #232323;
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  background-color: var(--black);
  color: var(--text);
  margin: 0;
  line-height: 1.8;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--light);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-danger {
  background-color: #d83b45;
  color: var(--bg-white);
}

.btn-danger:hover {
  background: #ae2932;
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  z-index: 1000;
  background-color: var(--transparent);
  border-bottom: 1px solid var(--border-color);
  border: 1px solid rgba(0, 0, 0, 0.09);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding: 0px 20px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 200px;
  object-fit: cover;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-menu li:not(:first-child) {
  display: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  /* min-height: 100vh; */
  padding: 180px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Products Section */
.products {
  padding: 80px 0;
  background: var(--transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 1.5rem;
}

.product-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.product-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.product-btn {
  background: var(--gradient);
  color: var(--primary);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
}

.product-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* blog Listings */
.blog-listings {
  padding: 80px 0;
  background: var(--bg-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-info {
  padding: 1.5rem;
}

.blog-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.blog-location {
  color: var(--text-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-date {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* Instagram Feed */
.instagram-feed {
  padding: 80px 0;
  background: var(--transparent);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.instagram-post {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.instagram-post:hover {
  transform: scale(1.05);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.instagram-post:hover .instagram-overlay {
  opacity: 1;
}

.instagram-overlay i {
  color: var(--bg-white);
  font-size: 2rem;
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.value-props {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-prop {
  display: flex;
  justify-content: space-between;
}

.value-prop div {
  display: flex;
  align-items: center;
  width: 30%;
}

.value-prop p {
  width: 60%;
  margin-left: 20px;
}

.value-prop i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-top: 5px;
}

.value-prop h4 {
  color: var(--primary);
  font-weight: 600;
  margin-left: 10px;
}

.value-prop p {
  color: var(--text-light);
  margin: 0;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--transparent);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-top: 5px;
}

.contact-item h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Contact Form */
.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.footer {
  color: var(--primary);
  background: var(--transparent);
  margin-left: 260px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #cccccc;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  color: var(--primary);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-btn a {
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.8rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-btn a:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .nav-menu li:not(:first-child) {
    display: block;
  }

  .nav-menu.active {
    left: 0;
    top: 0;
    height: 100vh;
    background-color: var(--black);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  } */

  /* --- Navigation Menu --- */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Initially hidden off the right side */
    width: 100%;
    height: 100vh;
    background-color: var(--black); /* Using your variable */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease-in-out; /* Smooth slide animation */
    z-index: 1000;
    box-shadow: var(--shadow);
  }

  /* Only toggle the 'right' property to slide it in */
  .nav-menu.active {
    right: 0;
  }

  .nav-menu li:not(:first-child) {
    display: block;
  }

  /* --- Nav Toggle (The Button) --- */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* Ensure it stays above the menu */
  }

  .nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
  }

  /* X-Animation for the toggle button */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-btn a {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-container {
    padding: 0 15px;
  }

  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .social-links {
    display: flex;
    justify-content: center;
  }
}

/* =========================
   ADMIN DASHBOARD STYLES
========================= */

.admin-container {
  display: flex;
  min-height: 100vh;
  background: var(--bg-light);
  padding-left: 260px;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  color: var(--primary);
  background: var(--transparent);
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  padding-top: 120px;
  z-index: 100;
}

.admin-sidebar h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.admin-sidebar ul {
  list-style: none;
}

.admin-sidebar ul li {
  margin-bottom: 12px;
}

.admin-sidebar ul li a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  color: var(--light);
  background-color: rgba(255, 255, 255, 0.05);
}

.admin-sidebar ul li a:hover {
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--text-white);
}

/* Main */
.admin-main {
  flex: 1;
  padding: 25px;
  padding-top: 120px;
}

/* Sections */
.admin-section {
  margin-bottom: 40px;
}

.admin-section h2 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.6rem;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--transparent);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
}

.stat-card h3 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-card p {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
}

/* Tables */
.table-container {
  background: var(--transparent);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

table th {
  background: var(--primary);
  color: var(--light);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  margin-bottom: 15px;
}

/* Links in table */
table a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

table a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-container {
    flex-direction: column;
    padding-left: 0px;
  }

  .admin-sidebar {
    display: none;
  }

  .footer {
    margin-left: 0px;
    padding: 20px;
  }
}
