@import url("https://fonts.cdnfonts.com/css/evermore");

@font-face {
  font-family: "Evermore";
  src: url("../fonts/Evermore.woff2") format("woff2"),
    url("../fonts/Evermore.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RudawBold";
  src: url("/font/rudawbold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "RudawRegular";
  src: url("/font/rudawbold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #1a1a1a;
  min-height: 100vh;
}

.offcanvas,
.nav,
.language-selector,
.category-items-grid,
.category-cards,
header {
  direction: ltr;
}

.ltr-font{
  font-family: "Poppins", sans-serif !important;
}

.rtl-font{
  font-family: "RudawRegular" !important;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: "Evermore" !important;
}

.loader {
  text-align: center;
  color: white;
}

.loader img {
  width: 120px;
  height: 120px;
  animation: spin 1.2s linear infinite;
  margin-bottom: 10px;
}

.loader p {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Header */
.header {
  background: rgba(25, 25, 25, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  width: 100%;
  top: 0;
  z-index: 1000;
}

@media (min-width: 1024px) {
  .containnn {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
  }
}

.navbar {
  padding: 1rem 0;
  font-family: "Evermore", sans-serif !important;
  font-size: calc(0.5rem + 0.3vw);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text-small {
  font-family: "Evermore", sans-serif;
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
  letter-spacing: 1px;
}

/* Language Selector */
.language-selector {
  position: relative;
  display: inline-block;
  margin: 0 1rem;
  margin-left: 3rem;
}

@media (min-width: 1024px) {
  .language-selector {
    margin-top: -4px;
  }
}
@media (max-width: 768px) {
  .language-selector {
    margin-top: 3px;
  }
}

.lang-toggle {
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  font-size: calc(1.2rem + 0.3vw);
  background-color: transparent;
  font-family: "Poppins", sans-serif;
  border: none;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 150px;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1001;
  gap: 0 !important;
  margin: 0% !important;
}

.language-menu.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  
}


.lang-option {
  display: block;
  padding: 0.8rem 1rem;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s;
  border-bottom: 1px solid #333;
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover,
.lang-option.active {
  background: #333;
  color: #fff;
}

/* Logo Section (Now appears first) */
.logo-section {
  padding: 3rem 0 2rem;
  text-align: center;
  background: #1a1a1a;
  margin-top: 70px;
}

.logo-container {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.logo-circle {
  width: 100px;
  height: 100px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.logo-text {
  font-family: "Evermore", sans-serif;
  font-size: 2.8rem;
  letter-spacing: 2px;
  margin-top: 0.8rem;
  color: #fff;
  text-transform: lowercase;
}

.logo-subtitle {
  font-family: "Evermore", sans-serif;
  font-size: 1.6rem;
  color: #ccc;
  margin-top: 0.4rem;
  text-transform: lowercase;
}

/* Hero Slider Styles - Two Slide Responsive */
.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  padding: 0 20vw;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  padding: 1rem;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 1rem;
}

.slide-image {
  flex: 1;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.slide-image:hover img {
  transform: scale(1.1);
}

.slide-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.slide-image:hover::after {
  background: rgba(0, 0, 0, 0.05);
}

/* Mobile: Single slide */

@media (max-width: 1500px) {
  .hero-slider {
    padding: 0;
  }
}

@media (max-width: 767px) {
  .hero-slider {
    height: 350px;
  }

  .slide-content {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .slide-image {
    width: 100%;
    height: 100%;
    max-width: none;
  }

  /* Hide second image on mobile */
  .slide-image:nth-child(2) {
    display: none;
  }
}

@media (max-width: 500px) {
  .hero-slider {
    height: 250px;
  }
}

/* Desktop: Two slides side by side */
@media (min-width: 768px) {
  .hero-slider {
    height: 500px;
  }

  .slide-content {
    gap: 2rem;
    padding: 2rem;
  }

  .slide-image {
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .hero-slider {
    height: 600px;
  }

  .slide-content {
    gap: 3rem;
    padding: 3rem;
  }
}

/* Navigation Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  width: 32px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.75);
  transform: scale(1.2);
}

/* Navigation Arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.slider-nav:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-nav svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .slider-nav {
    width: 60px;
    height: 60px;
  }

  .slider-nav svg {
    width: 28px;
    height: 28px;
  }
}

/* Hide arrows on mobile */
@media (max-width: 767px) {
  .slider-nav {
    display: none !important;
  }
}

/* Category Navigation - Centered Horizontal with Scroll */
.category-nav {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0;
  padding: 1.5rem 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  display: flex;
  justify-content: center;
  background: #1a1a1a;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.category-nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.category-nav-container {
  display: flex;
  gap: 1rem;
  padding: 0 1rem;
  justify-content: center;
  align-items: center;
  min-width: max-content;
}

.category-intro-text {
  font-family: "Evermore", sans-serif;
  font-size: calc(0.8rem + 0.5vw);
  line-height: 2rem;
}

.nav-item {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: #333 !important;
  border: 1px solid #444;
}

.nav-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background: #444 !important;
}

.nav-item-icon {
  font-size: 24px;
  margin-bottom: 5px;
  display: block;
}

.nav-item-icon-img {
  width: 24px;
  height: 24px;
  margin-bottom: 5px;
  object-fit: contain;
}

/* Category Cards - Dark Mode Theme with Responsive Layout */
.category-cards {
  display: grid;
  gap: 2rem !important;
  padding: 1rem;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  background: #1a1a1a;
  /* Default: 5 columns for screens above 992px */
  grid-template-columns: repeat(4, 1fr);
}

/* 3 columns for screens under 992px */
@media (max-width: 991px) {
  .category-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 1 column for screens under 500px */
@media (max-width: 770px) {
  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 column for screens under 500px */
@media (max-width: 500px) {
  .category-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.category-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1 / 1.2;
  border: 2px solid #e0e0e0;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.category-card:hover .category-image {
  transform: scale(1.05);
}

.category-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  color: #999;
}

.category-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.55);
  color: #333;
  padding-top: 1.2rem !important;
  padding-bottom: 0.8rem !important;

  font-size: 1.2rem;
  text-align: center;
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-name.en {
  font-family: "Evermore", sans-serif;
}
.category-name.ar,
.category-name.ku {
  font-family: "RudawBold";
  font-weight: bolder;
  font-size: 1.7rem;
  padding: 0.5rem !important;
}

/* Category Items Grid - Responsive */
.category-items-grid {
  display: grid;
  gap: calc(0.7rem + 0.5vw);
  padding: 2rem 0;
  margin-bottom: 3rem;

  /* Default: 6 columns for screens above 992px */
  grid-template-columns: repeat(5, 1fr);
}

/* 4 columns for screens under 992px */
@media (max-width: 1200px) {
  .category-items-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .category-items-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .category-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-item-card {
  background: #333;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
}

.category-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.category-item-image {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
}

.category-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.category-item-card:hover .category-item-image img {
  transform: scale(1.05);
}

.category-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.category-item-info {
  padding: 0.7rem 0rem;
  background: #333;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
}

.category-item-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0%;
}

.category-item-name {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  flex: 1;
  line-height: 1.2;
}


.category-item-price {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

#modalName {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
}

/* Item Modal Styles */
.item-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.item-modal-overlay.show {
  opacity: 1;
}

.item-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.item-modal-overlay.show .item-modal-content {
  transform: scale(1);
}

.item-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.item-modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.item-modal-image {
  width: 100%;
  height: calc(17rem + 13vw) !important;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-modal-info {
  padding: calc(1rem + 1vw);
  text-align: center;
  color: #333;
  flex: 1;
}

.item-modal-info h2 {
  font-family: "Evermore", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.modal-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.3rem;
  font-family: "Poppins", sans-serif;
}

.modal-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0%;
}

/* Mobile adjustments for modal */
@media (max-width: 768px) {
  .category-nav-container {
    justify-content: flex-start;
    padding: 0 1rem;
  }

  .nav-item {
    width: 70px;
    height: 70px;
    font-size: 12px;
    padding: 8px;
  }

  .nav-item-icon,
  .nav-item-icon-img {
    font-size: 20px;
    width: 20px;
    height: 20px;
  }

  .logo-text {
    font-size: 2rem;
  }

  .visit-us-title {
    font-size: 1.8rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .popup-content {
    width: 95%;
    margin: 1rem;
  }

  .popup-text {
    padding: 1.5rem;
  }

  .popup-text h2 {
    font-size: 1.3rem;
  }

  .rtl .slide-content {
    flex-direction: column;
  }

  .logo-text-small {
    font-size: 1rem;
  }

  .logo-text {
    font-size: 2.2rem;
  }

  .logo-subtitle {
    font-size: 1.3rem;
  }

  .visit-us-title {
    font-size: 1.8rem;
  }
  .slide-image {
    flex: none;
    order: 1;
  }
}

@media (max-width: 480px) {
  .nav-item {
    width: 60px;
    height: 60px;
    font-size: 11px;
    padding: 6px;
  }

  .nav-item-icon,
  .nav-item-icon-img {
    font-size: 18px;
    width: 18px;
    height: 18px;
  }

  .logo-text-small {
    font-size: 0.9rem;
  }

  .logo-text {
    font-size: 1.8rem;
  }

  .logo-subtitle {
    font-size: 1.1rem;
  }

  .visit-us-title {
    font-size: 1.3rem;
  }
}

/* Visit Us Section */
.visit-us-section {
  margin-top: 5rem;
  background: #1a1a1a;
}

.visit-us-title {
  font-family: "Evermore", sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #fff;
  text-transform: lowercase;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-item {
  background: #333;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-item h3 {
  font-family: "Evermore", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.contact-item p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
}

/* Footer */
.footer {
  background: #111;
  color: #888;
  padding: 2rem 0;
  border-top: 1px solid #333;
  display: flex;
  align-items: center;
}

.footer p {
  font-size: 0.9rem;
  font-family: "Poppins", sans-serif;
}

.footer a {
  color: #ff00ff;
}

@media (max-width: 700px) {
  .footer {
    flex-direction: column;
  }
}

/* Feedback Button */
.fcontainer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.feedback-btn {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.feedback-btn:hover {
  background: linear-gradient(135deg, #db2777, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

/* Feedback Modal - Dark Mode */
.feedback-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}

.feedback-modal-content {
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border: 1px solid #333;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  color: #fff;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feedback-close {
  color: #ccc;
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  background: rgba(255, 255, 255, 0.1);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 1;
}

.feedback-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.feedback-modal-content h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  position: relative;
  padding-right: 0;
  margin-top: 10px;
}

/* Star Rating - Dark Mode */
.rating-section {
  text-align: center;
  margin-bottom: 30px;
}

.rating-section p {
  margin-bottom: 15px;
  color: #ccc;
  font-size: 16px;
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.star-rating i {
  font-size: 32px;
  color: #444;
  cursor: pointer;
  transition: all 0.2s ease;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.star-rating i:hover {
  transform: scale(1.1);
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.star-rating i.active {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.star-rating i.hover {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.rating-text {
  font-size: 14px;
  color: #ccc;
  font-style: italic;
  min-height: 20px;
}

/* Feedback Form - Dark Mode */
.feedback-input-group {
  margin-bottom: 20px;
}

.feedback-input-group label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 500;
}

.feedback-input-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #444;
  border-radius: 10px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  resize: vertical;
  min-height: 100px;
  transition: all 0.3s;
  background-color: #2a2a2a;
  color: #fff;
}

.feedback-input-group textarea:focus {
  outline: none;
  border-color: #ec4899;
  background-color: #333;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
}

.feedback-input-group textarea::placeholder {
  color: #888;
}

.feedback-input-group textarea::-webkit-scrollbar {
  width: 8px;
}

.feedback-input-group textarea::-webkit-scrollbar-track {
  background: #333;
  border-radius: 4px;
}

.feedback-input-group textarea::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.feedback-input-group textarea::-webkit-scrollbar-thumb:hover {
  background: #666;
}

.feedback-message {
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  display: none;
  font-weight: 500;
}

.feedback-message.success {
  background-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.feedback-message.error {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.feedback-message.warning {
  background-color: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.feedback-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.feedback-submit-btn:hover {
  background: linear-gradient(135deg, #db2777, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.feedback-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: linear-gradient(135deg, #666, #555);
}

/* Mobile Responsiveness - Dark Mode */
@media (max-width: 768px) {
  .feedback-modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 95%;
  }

  .feedback-modal-content h2 {
    font-size: 20px;
  }

  .star-rating i {
    font-size: 28px;
  }

  .feedback-btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .feedback-close {
    width: 30px;
    height: 30px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .feedback-modal-content {
    margin: 15% auto;
    padding: 15px;
    width: 98%;
  }

  .star-rating {
    gap: 6px;
  }

  .star-rating i {
    font-size: 24px;
  }

  .feedback-modal-content h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .rating-section p {
    font-size: 14px;
  }

  .feedback-close {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
}

.popup-content {
  background: #fff;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 3px;
  right: 3px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #666;
  cursor: pointer;
  z-index: 10001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.popup-close:hover {
  background: #f0f0f0;
  color: #333;
}

.popup-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-text {
  padding: 2rem;
  text-align: center;
  color: #333;
}

.popup-text h2 {
  font-family: "Evermore", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.popup-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  color: #666;
  font-family: "Poppins", sans-serif;
}

.popup-button {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  font-family: "Poppins", sans-serif;
}

.popup-button:hover {
  background: #555;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

