/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Raleway:wght@400;500;600;700;800&display=swap");

/*=============== CSS VARIABLES ===============*/
:root {
  --header-height: 4rem;

  /*========== Ocean/Fish Theme Colors ==========*/
  --primary-color: #191cf8;
  --primary-dark: #a09ff3;
  --primary-light: #5729fd;
  --secondary-color: #f97316;
  --secondary-dark: #ea580c;
  
  --ocean-blue: #0284c7;
  --deep-sea: #075985;
  --coral: #fb923c;
  --aqua: #22d3ee;
  --sea-green: #14b8a6;
  --sand: #fef3c7;
  
  --title-color: #0f172a;
  --text-color: #334155;
  --text-light: #64748b;
  --body-bg: #f8fafc;
  --white: #ffffff;
  --light-gray: #f1f5f9;
  --border-color: #e2e8f0;
  
  --gradient-ocean: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  --gradient-sunset: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --gradient-deep: linear-gradient(180deg, #0c4a6e 0%, #075985 100%);

  /*========== Typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --title-font: 'Raleway', sans-serif;
  
  --biggest-font: 3.5rem;
  --h1-font: 2.5rem;
  --h2-font: 2rem;
  --h3-font: 1.5rem;
  --large-font: 1.125rem;
  --normal-font: 1rem;
  --small-font: 0.875rem;
  --tiny-font: 0.75rem;

  /*========== Font Weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /*========== Spacing ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  --mb-4: 4rem;

  /*========== Z-index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /*========== Transitions ==========*/
  --transition-fast: 0.2s linear;
  --transition-normal: 0.2s linear;
  --transition-smooth: 0.2s linear;

  /*========== Shadows ==========*/
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
}

/*========== Responsive Typography ==========*/
@media screen and (max-width: 968px) {
  :root {
    --biggest-font: 2.5rem;
    --h1-font: 2rem;
    --h2-font: 1.75rem;
    --h3-font: 1.25rem;
    --large-font: 1rem;
    --normal-font: 0.938rem;
    --small-font: 0.813rem;
    --tiny-font: 0.688rem;
  }
}

/*========== Dark Theme Variables ==========*/
body.dark-theme {
  --title-color: #f1f5f9;
  --text-color: #cbd5e1;
  --text-light: #94a3b8;
  --body-bg: #0f172a;
  --white: #1e293b;
  --light-gray: #1e293b;
  --border-color: #334155;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.6);
}

/*=============== BASE STYLES ===============*/
/* طبقة أعماق البحار المتحركة من ملفك المحلي */
.deep-sea-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* استدعاء الملف من المسار المحلي الذي أنشأته */
    background-image: url('../assets/img/ocean.gif'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* الشفافية المطلوبة 11% */
    opacity: 0.22; 
    z-index: -1; 
    pointer-events: none;
}

/* لون أساسي داكن جداً ليعطي عمقاً خلف الـ GIF */






/*=============== REUSABLE CLASSES ===============*/

.section {
  padding: 6rem 0 4rem;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: var(--mb-4);
}

.section__subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font);
  font-weight: var(--font-semibold);
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--mb-1);
}

.section__subtitle i {
  font-size: 1.2rem;
}

.section__title {
  font-size: var(--h1-font);
  color: var(--title-color);
  margin-bottom: var(--mb-1);
  position: relative;
  display: inline-block;
}

.section__description {
  font-size: var(--large-font);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}



.grid {
  display: grid;
  gap: 2rem;
}

.logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-left: 0.5rem;
}



/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: var(--font-semibold);
  font-size: var(--normal-font);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  z-index: -1;
}

.button:hover::before {
  width: 100%;
}

.button--primary {
  background:black
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.button--primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.button--outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.button--outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.button--white {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.button--white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.button i {
  font-size: 1.2rem;
}

/*=============== HEADER & NAVIGATION ===============*/

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-normal);
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-toggle__icon {
  font-size: 1.2rem;
  color: var(--text-color);
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  color: var(--text-color) !important;
  cursor: pointer;
}


.about__images {
  position: relative;
}

.about__image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about__image-wrapper:hover .about__img {
  transform: scale(1.1);
}

.about__badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-ocean);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

.about__badge i {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.about__badge span {
  font-weight: var(--font-bold);
  font-size: var(--small-font);
  line-height: 1.3;
}

/*=============== PRODUCTS SECTION ===============*/
.products {
  background: var(--body-bg);
  position: relative;
  overflow: hidden;
}



.products__container {
  padding: 2rem 0;
}

.product__card {
  width: 100%;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  margin: 1rem;
  display: block;
}

.products__container .swiper-slide {
  width: auto;
  height: 30rem;
}

.product__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.product__image-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

.product__img {
  width: 300px;
  height: 300px;
  border-radius: 1rem;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product__card:hover .product__img {
  transform: scale(1.15);
}



.product__content {
  padding: 1.5rem;
}

.product__title {
  font-size: var(--h3-font);
  color: var(--title-color);
  margin-bottom: 0.5rem;
  font-weight: var(--font-bold);
}

.product__subtitle {
  font-size: var(--small-font);
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1rem;
}

.product__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.product__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: var(--font-semibold);
  font-size: var(--small-font);
}

.product__link i {
  transition: var(--transition-normal);
}

.product__card:hover .product__link i {
  transform: translateX(5px);
}

.products .swiper-button-next,
.products .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
  transition: var(--transition-normal);
}

.products .swiper-button-next:hover,
.products .swiper-button-prev:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.products .swiper-button-next::after,
.products .swiper-button-prev::after {
  display: none;
}

.products .swiper-button-next i,
.products .swiper-button-prev i {
  font-size: 1.5rem;
}

.products .swiper-pagination {
  bottom: -2.5rem;
}

.products .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--text-light);
  opacity: 1;
  transition: var(--transition-normal);
}

.products .swiper-pagination-bullet-active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 5px;
}

/*=============== GALLERY SECTION ===============*/
/* التصحيح الجديد لضمان الحجم الصغير والراقي */
.gallery__grid {
    display: flex !important; /* تحويله لـ flex لسهولة التحكم */
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1rem !important;
    max-width: 1000px; /* حصر المعرض في المنتصف */
    margin: 0 auto;
}

.gallery__item {
    width: 150px !important; /* تثبيت العرض صغير */
    flex: 0 0 150px !important; /* منع التمدد نهائياً */
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* تعديل حجم الصور داخل المربعات */
.gallery__item-wrapper {
    aspect-ratio: 1 / 1 !important; /* إجبار الشكل المربع */
    height: 150px !important;
}

/* للهواتف: تصغير الحجم أكثر ليكون مناسباً للشاشة */
@media screen and (max-width: 768px) {
    .gallery__item {
        width: 110px !important;
        flex: 0 0 110px !important;
    }
    .gallery__item-wrapper {
        height: 110px !important;
    }
}


/*=============== CTA SECTION ===============*/
.cta {
  background: var(--gradient-deep);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: cover;
  opacity: 0.3;
}

.cta__container {
  position: relative;
  z-index: 1;
}

.cta__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.cta__icon {
  font-size: 4rem;
  color: var(--sand);
  margin-bottom: var(--mb-2);
  animation: ring 2s infinite;
}

.cta__title {
  font-size: var(--h1-font);
  color: var(--white);
  margin-bottom: var(--mb-1-5);
}

.cta__description {
  font-size: var(--large-font);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--mb-2-5);
}




/*=============== SCROLL UP BUTTON ===============*/
.scroll-up {
  position: fixed;
  right: 2rem;
  bottom: -30%;
  background: var(--gradient-ocean);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-tooltip);
  transition: var(--transition-smooth);
}

.scroll-up:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.scroll-up.show-scroll {
  bottom: 3rem;
}

/*=============== ANIMATIONS ===============*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes ring {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-10deg);
  }
  20%, 40% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

/*=============== RESPONSIVE DESIGN ===============*/

/* Large Devices (Desktops) */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

/* Medium Devices (Tablets) */
@media screen and (max-width: 968px) {
  .section {
    padding: 4rem 0 3rem;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__images {
    order: -1;
  }

  .about__img {
    height: 400px;
  }

  .footer__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer__info {
    grid-column: 1 / -1;
  }
}

/* Small Devices (Mobile) */
@media screen and (max-width: 768px) {
  :root {
    --header-height: 3.5rem;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    padding: 6rem 2rem 2rem;
    transition: var(--transition-smooth);
    z-index: var(--z-fixed);
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }

  .nav__link {
    color: var(--text-color);
    font-size: var(--large-font);
  }

  .nav__link span {
    display: inline;
  }

  .nav__link::after {
    display: none;
  }

  .nav__actions {
    margin-top: 2rem;
  }

  .theme-toggle {
    background: var(--light-gray);
    border-color: var(--border-color);
  }

  .theme-toggle__icon {
    color: var(--title-color);
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--title-color);
  }

  .nav__toggle {
    display: block;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .section__title {
    font-size: var(--h2-font);
  }

  .feature__card {
    flex-direction: column;
    text-align: center;
  }

  .gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .products .swiper-button-next,
  .products .swiper-button-prev {
    display: none;
  }

  .scroll-up {
    right: 1.5rem;
  }

  .scroll-up.show-scroll {
    bottom: 2rem;
  }
}

/* Extra Small Devices */
@media screen and (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__description {
    font-size: var(--normal-font);
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .cta__icon {
    font-size: 3rem;
  }

  .cta__title {
    font-size: var(--h2-font);
  }
}

/* Dark Theme Specific Adjustments */
.dark-theme .header.scroll-header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.dark-theme .product__card,
.dark-theme .feature__card,
.dark-theme .filter__btn,
.dark-theme .fish__btn {
  background: var(--white);
}

.dark-theme .about,
.dark-theme .gallery {
  background: var(--body-bg);
}

/* Smooth Loading Animation */
body.loaded {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Desktop Navigation - Show Text */
@media screen and (min-width: 769px) {
  .nav__link i {
    display: none;
  }
  
  .nav__link span {
    display: inline !important;
  }
}

/*=============== CONTACT SECTION ===============*/
.contact {
  background: var(--body-bg);
  position: relative;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* Contact Info Cards */
.contact__info {
  display: flex;
  flex-direction: column;
  background-color:black;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  gap: 1.5rem;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.contact__card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.contact__card-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  font-size: 1.8rem;
}

.contact__card-content h3 {
  font-size: var(--large-font);
  color: var(--white)
  margin-bottom: 0.25rem;
  font-weight: var(--font-semibold);
}

.contact__card-content p {
  font-size: var(--normal-font);
  color: var(--text-light);
}

/* Contact Form */
.contact__form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__group {
  width: 100%;
}

.form__input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form__icon {
  position: absolute;
  left: 1.25rem;
  font-size: 1.3rem;
  color: var(--text-light);
  transition: var(--transition-normal);
  z-index: 1;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3.5rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: var(--normal-font);
  color: var(--text-color);
  background: var(--white);
  transition: var(--transition-normal);
  font-family: var(--body-font);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

.form__input:focus ~ .form__icon,
.form__textarea:focus ~ .form__icon {
  color: var(--primary-color);
}

.form__label {
  position: absolute;
  left: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--normal-font);
  color: var(--text-light);
  background: var(--white);
  padding: 0 0.5rem;
  transition: var(--transition-normal);
  pointer-events: none;
}

.form__textarea-wrapper .form__label {
  top: 1.25rem;
  transform: translateY(0);
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label,
.form__textarea:focus ~ .form__label,
.form__textarea:not(:placeholder-shown) ~ .form__label {
  top: -0.5rem;
  left: 3rem;
  font-size: var(--small-font);
  color: var(--primary-color);
  font-weight: var(--font-semibold);
}

.contact__submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1.25rem 2rem;
  font-size: var(--large-font);
  justify-content: center;
}

.contact__submit i {
  font-size: 1.3rem;
}

.contact__submit:hover {
  transform: translateY(-3px);
}

/*=============== CONTACT RESPONSIVE ===============*/
@media screen and (max-width: 968px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media screen and (max-width: 640px) {
  .contact__info {
    grid-template-columns: 1fr;
  }

  .contact__form-wrapper {
    padding: 1.5rem;
  }

  .form__input,
  .form__textarea {
    padding: 0.875rem 0.875rem 0.875rem 3rem;
  }

  .form__icon {
    left: 1rem;
  }

  .form__label {
    left: 3rem;
  }

  .form__input:focus ~ .form__label,
  .form__input:not(:placeholder-shown) ~ .form__label,
  .form__textarea:focus ~ .form__label,
  .form__textarea:not(:placeholder-shown) ~ .form__label {
    left: 2.5rem;
  }
}


.centered-slide-carousel .swiper-pagination-bullet-active {
    background: #4F46E5 !important;
    opacity: 1 !important;
    width: 20px !important; /* جعل النقطة النشطة ممتدة بشكل جميل */
    border-radius: 10px !important;
}


/* تحسينات إضافية للـ Grid والـ Popup */
        .gallery-grid-layout {
            display: grid;
            /* شبكة متجاوبة: عمود واحد للجوال، 3 للتابلت، 4 للكمبيوتر */
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 24px;
        }

        .gallery-card {
            aspect-ratio: 1 / 1;
            position: relative;
            overflow: hidden;
            border-radius: 24px;
            background: white;
            padding: 8px;
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .gallery-card:hover {
            transform: scale(1.03);
            box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.25);
        }

        .gallery-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 18px;
            transition: transform 0.7s scale;
        }

        .gallery-card:hover img {
            transform: scale(1.1);
        }
        /* تنسيق الشبكة الأساسي */
        .fish-gallery-grid {
            display: flex !important;
            flex-wrap: wrap !important;
            justify-content: center !important;
            gap: 20px !important;
        }

        .fish-item-card {
            width: 180px !important;
            height: 180px !important;
            flex: 0 0 180px !important;
            border-radius: 20px !important;
            overflow: hidden;
            background: #fff;
            border: 4px solid #fff;
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
        }

        .fish-item-card:hover {
            transform: translateY(-10px);
            border-color: #4f46e5;
            box-shadow: 0 15px 30px rgba(79, 70, 229, 0.2);
        }

        .fish-item-card img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
        }

        /* --- تنسيق الـ Popup المحسن --- */
        
        /* جعل الصورة دائرية بإطار فخم */
        .gslide-image img {
            border-radius: 50% !important;
            aspect-ratio: 1/1 !important;
            object-fit: cover !important;
            border: 12px solid #fff !important;
            box-shadow: 0 25px 60px rgba(0,0,0,0.5) !important;
            max-width: 420px !important;
        }

        /* تنسيق الاسم (العنوان) ليكن شديد الوضوح */
        .gslide-title {
            font-family: 'Raleway', sans-serif !important;
            font-weight: 800 !important;
            font-size: 2rem !important; /* حجم أكبر للاسم */
            color: #fff !important;
            text-align: center !important;
            margin-top: 20px !important;
            letter-spacing: 1px;
            text-transform: capitalize;
            text-shadow: 0 4px 10px rgba(0,0,0,0.8) !important;
        }

        /* تنسيق التاريخ (الوصف) */
        .gslide-desc {
            display: block !important;
            text-align: center !important;
            color: #22d3ee !important; /* لون سماوي/أكوا للتميز */
            font-family: 'Poppins', sans-serif !important;
            font-size: 1.1rem !important;
            font-weight: 500 !important;
            margin-top: 10px !important;
        }

        /* إضافة أيقونة صغيرة قبل التاريخ */
        .gslide-desc::before {
            content: '📅 ';
            font-size: 0.9rem;
            margin-right: 5px;
        }

        @media (max-width: 640px) {
            .fish-item-card { width: 140px !important; height: 140px !important; flex: 0 0 140px !important; }
            .gslide-image img { max-width: 280px !important; border-width: 6px !important; }
            .gslide-title { font-size: 1.4rem !important; }
        }



 /* تحسينات إضافية لزر الواتساب عند الحوم (Hover) */
    .whatsapp__btn:hover {
        background: #128C7E !important;
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }
    
    .contact__card--whatsapp {
        transition: transform 0.3s ease;
    }
    
    .contact__card--whatsapp:hover {
        transform: translateY(-5px);
    }

/*=============== END OF STYLES ===============*/