:root {
  --primary-color: #7f6931;
  --secondary-color: #fff;
  --text-color: #fff;
  --light-color: #fff;
  --gray-color: #111;
  --border-color: rgba(184, 134, 11, 0.2);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--gray-color);
  background: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cardo", serif;
  font-weight: 700;
  color: #6b6b6b;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn-login {
  color: #333;
}

/* Header Styles */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-top {
  background: rgba(0, 0, 0, 0.9);
  padding: 15px 0;
}
.admin-link {
  color: #fff;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.location-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
}

.logo-container {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.logo {
  position: absolute;
  left: calc((100% - 1200px) / 2 + 20px);
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 1240px) {
  .logo {
    left: 20px;
  }
}

.logo img {
  height: 125px;
  width: auto;
}

.logo span {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 50px;
  color: var(--light-color);
  font-weight: 600;
  font-style: italic;
  margin-top: -50px;
  margin-right: -25px;
}

.main-navigation {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px 0;
  position: relative;
}

.main-navigation .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-left: 200px; /* Make space for the logo */
}

@media (max-width: 768px) {
  .menu {
    margin-left: 0;
  }
}

.header-buttons {
  display: flex;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 100 !important;
  padding: 2px 0;
  position: relative;
  transition: var(--transition);
  font-size: 18px;
  font-family: "Merriweather Sans";
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

/* Button Styles */
.btn {
  /* display: inline-block; */
  padding: 2px 8px;
  border-radius: 4px;
  text-decoration: none;
  /* font-weight: 100; */
  transition: var(--transition);
  /* border: none; */
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--light-color);
}

.btn-primary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--light-color);
}

.btn-danger {
  background: #dc3545;
  color: var(--light-color);
}

.btn-danger:hover {
  background: #c82333;
  color: var(--light-color);
}

/* Category Item Styles */
.category-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  color: var(--light-color);
}

.category-item h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.category-item p {
  color: var(--light-color);
  margin-bottom: 8px;
}

.category-item .btn {
  margin-right: 10px;
  margin-top: 10px;
  display: inline-block;
}

/* Admin Section Styles */
.section {
  padding: 20px;
  background: var(--gray-color);
  color: var(--light-color);
}

.section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-family: "Merriweather Sans", sans-serif;
  font-style: italic;
}

.section h3 {
  color: var(--light-color);
  margin-bottom: 15px;
  font-size: 20px;
}

/* Hero Section */
@keyframes backgroundZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.hero-section {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/03Wedding.jpg");
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  z-index: 0;
  animation: backgroundZoom 20s infinite;
}

.hero-section::before:hover {
  animation-play-state: paused;
}

.hero-column:hover ~ .hero-section::before,
.hero-section:has(.hero-column:hover)::before {
  animation-play-state: paused;
  transform: scale(1.15);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-columns {
  display: flex;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-column {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.hero-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(0px);
  transition: all 0.3s ease;
  z-index: -1;
}

.hero-column:hover::before {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.3);
}

.hero-column:nth-child(1):hover ~ .hero-section::before,
.hero-section:has(.hero-column:nth-child(1):hover)::before {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/03Wedding.jpg");
  transform: scale(1.15);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-column:nth-child(2):hover ~ .hero-section::before,
.hero-section:has(.hero-column:nth-child(2):hover)::before {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/01Party.jpg");
  transform: scale(1.15);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-column:nth-child(3):hover ~ .hero-section::before,
.hero-section:has(.hero-column:nth-child(3):hover)::before {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/02Kids.jpg");
  transform: scale(1.15);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-column:nth-child(4):hover ~ .hero-section::before,
.hero-section:has(.hero-column:nth-child(4):hover)::before {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/02Kids.jpg");
  transform: scale(1.15);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-column.blur-bg {
  backdrop-filter: blur(8px);
}

.hero-content {
  padding: 40px;
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.hero-content h2 {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-style: italic;
  line-height: 1.2;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.hero-column.blur-bg .hero-content p {
  opacity: 0.9;
  transform: translateY(0);
}

.hero-column:hover .hero-content {
  transform: translateY(-60px);
}

.hero-column:hover .hero-content p {
  opacity: 0.9;
  transform: translateY(0);
}

.menu-items p,
.menu-prices p {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.5;
}

.menu-prices {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-prices p {
  font-style: italic;
  opacity: 0.9;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero-columns {
    flex-direction: column;
  }

  .hero-column {
    height: 25vh;
  }

  .hero-content h2 {
    font-size: 24px;
  }

  .hero-column:hover {
    flex: 1;
    height: 30vh;
  }
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background: var(--gray-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px 10px 20px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-label {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
  color: #111;
}

.feature-item h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.btn-text {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

/* Menu Section */
.menu-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 42px;
  color: var(--secondary-color);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 25px;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--secondary-color);
  position: relative;
}

.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.tab-btn.active::after {
  width: 100%;
}

/* Reservation Section */
.reservation-section {
  padding: 100px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../images/reservation-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--light-color);
}

.reservation-content {
  max-width: 600px;
  margin: 0 auto;
}

.reservation-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--dark-color);
  border-radius: 4px;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Hours Section */
.hours-section {
  padding: 100px 0;
  background: var(--gray-color);
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.hours-item {
  text-align: center;
  padding: 30px;
  background: var(--light-color);
  border-radius: 8px;
}

.day {
  display: block;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.time {
  color: var(--primary-color);
  font-size: 18px;
}

/* Footer */
.site-footer {
  background: var(--gray-color);
  color: var(--light-color);
  padding: 30px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-info h3,
.footer-social h3,
.footer-newsletter h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-style: italic;
}

.footer-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: var(--light-color);
  font-size: 18px;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--primary-color);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
  border-radius: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gallery Section */
.gallery-section {
  padding: 100px 0;
  background: var(--gray-color);
}

.gallery-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.gallery-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 30px;
  padding: 0 20px;
}

.gallery-item {
  min-width: calc(33.333% - 20px);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.gallery-section {
  padding: 50px 0;
  background: var(--gray-color);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .feature-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--light-color);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .feature-content {
  transform: translateY(0);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  color: var(--light-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.gallery-nav:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.gallery-nav.prev {
  left: 20px;
}

.gallery-nav.next {
  right: 20px;
}

@media (max-width: 1024px) {
  .gallery-item {
    min-width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .gallery-item {
    min-width: calc(100% - 0px);
  }
}

/* Restaurant Info Section */
.restaurant-info-section {
  background: var(--gray-color);
  position: relative;
}

.highlight-text {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  margin-top: 30px;
  text-align: center;
  font-family: "Merriweather Sans", sans-serif;
}

/* Rezervare Section */
.rezervare-section {
  background: var(--gray-color);
  position: relative;
}

.rezervare-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.rezervare-image {
  flex: 1;
}

.rezervare-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
}

.main-image {
  flex: 1;
}

.main-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
}

.rezervare-content {
  flex: 1;
  color: var(--light-color);
}

.rezervare-content h2 {
  color: var(--primary-color);
  font-size: 32px;
  margin-bottom: 20px;
  font-family: "Merriweather Sans", sans-serif;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}

.rezervare-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.rezervare-content ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.rezervare-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--light-color);
}

.rezervare-content ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .rezervare-container {
    flex-direction: column;
  }

  .rezervare-image,
  .rezervare-content {
    width: 100%;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 42px;
  }

  .features-grid,
  .hours-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .menu {
    flex-direction: column;
    text-align: center;
  }

  .reservation-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-top .container {
    flex-direction: column;
    gap: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* Gallery Page Styles */
.gallery-page-section {
  padding: 120px 0 60px;
  background: var(--gray-color);
}

.section-title {
  text-align: center;
  color: var(--primary-color);
  font-size: 42px;
  margin-bottom: 40px;
  font-family: "Merriweather Sans", sans-serif;
  font-style: italic;
}

.masonry-gallery {
  padding: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
  grid-auto-flow: dense;
}

.gallery-grid .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-grid .gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .gallery-grid .gallery-item img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .gallery-item img {
    height: 300px;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  padding: 40px;
  box-sizing: border-box;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
}

.lightbox-nav:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.lightbox-nav.prev {
  left: 30px;
}

.lightbox-nav.next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox {
    padding: 20px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }
}

/* Categories Page Styles */
.categories-section {
  padding: 120px 0 60px;
  background: var(--gray-color);
}

.categories-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

.categories-sidebar {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.categories-sidebar h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-family: "Merriweather Sans", sans-serif;
  font-style: italic;
}

.categories-menu {
  list-style: none;
  padding: 0;
}

.categories-menu li {
  margin-bottom: 10px;
}

.categories-menu button {
  width: 100%;
  padding: 10px;
  text-align: left;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-color);
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}

.categories-menu button:hover,
.categories-menu button.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  color: var(--light-color);
  margin-bottom: 10px;
  font-size: 18px;
}

.product-info p {
  color: var(--light-color);
  opacity: 0.8;
  margin-bottom: 15px;
  font-size: 14px;
}

.product-info .price {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 18px;
}

.no-image {
  background: var(--primary-color);
  color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  font-style: italic;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  padding-top: 50px;
  opacity: 1;
}

.modal-content {
  background: var(--gray-color);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  color: var(--light-color);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-header h2 {
  margin: 0;
  color: var(--primary-color);
  font-size: 24px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--light-color);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  position: absolute;
  right: 10px;
  top: 10px;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-content {
  background: var(--gray-color);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  color: var(--light-color);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--primary-color);
}

.modal-header h2 {
  margin: 0;
  color: var(--primary-color);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--light-color);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

table thead {
  background: var(--primary-color);
}

table th {
  padding: 15px;
  text-align: left;
  color: #000;
  font-weight: 600;
}

table td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #000 !important;
}

table tbody tr {
  transition: background 0.3s ease;
}

table tbody tr:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .categories-layout {
    grid-template-columns: 1fr;
  }

  .categories-sidebar {
    margin-bottom: 30px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .modal-content {
    width: 95%;
    margin: 20px;
  }
}
