/* Path: /public/assets/css/components.css */

/* ── PRODUCT CARD ─────────────────────────────── */
.card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.34,1.2,.64,1), box-shadow .3s;
  position: relative;
  display: block;           
  text-decoration: none;
  color: inherit;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,174,239,.18); border-color: rgba(0,174,239,.3); }

.card-img-wrap { position: relative; overflow: hidden; }
.card-img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .card-img { transform: scale(1.06); }

/* Eye overlay on hover */
.card-eye-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .28s ease;
  z-index: 2;
}
.card:hover .card-eye-overlay { opacity: 1; }

.card-eye-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  transform: scale(0.7);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .2s;
}
.card:hover .card-eye-icon { transform: scale(1); }

/* color stripe on card */
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--pink), var(--yellow), var(--green)); opacity: 0; transition: opacity .3s; z-index: 1; }
.card:hover::before { opacity: 1; }

.card-body { padding: 16px 14px 20px; text-align: center; }
.card-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.card-price { font-size: 18px; font-weight: 700; color: var(--cyan); }

/* ── NEW FOOTER ───────────────────────────────────── */

.main-footer {
  background: linear-gradient(135deg, #0d2550 0%, #1a3a6b 100%);
  color: #c5d3e8;
  padding: 40px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 50px;
  position: relative;
  z-index: 5;
  margin-top: 30px;
}

/* Top colorful line */
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
          90deg,
          var(--cyan),
          var(--pink),
          var(--yellow),
          var(--green),
          var(--cyan)
  );
}

/* ── TITLES ───────────────────────────────────── */

.main-footer h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

/* ── LINKS ───────────────────────────────────── */

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 9px;
}

.footer-column ul li a {
  color: rgba(0, 174, 239, .85);
  font-size: 13.5px;
  transition: color .2s, transform .2s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-column ul li a::before {
  content: '›';
  color: var(--cyan);
  font-size: 16px;
  font-weight: bold;
}

.footer-column ul li a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* ── CONTACT ───────────────────────────────────── */

.agency {
  color: #c5d3e8;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.agency strong {
  color: var(--yellow);
}

.agency i {
  width: 20px;
  color: var(--yellow);
  margin-top: 5px;
  text-align: center;
}

.agency a {
  color: #c5d3e8;
  text-decoration: none;
  transition: color .2s;
}

.agency a:hover {
  color: var(--cyan);
}

/* ── SOCIAL ICONS ───────────────────────────────────── */

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;

  color: #ffffff;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);

  transition:
          background .2s,
          color .2s,
          transform .2s,
          border-color .2s;
}

.social-icon i {
  font-size: 17px;
}

.social-icon:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Optional different hover colors */
.social-icon.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-icon.instagram:hover {
  background: #e4405f;
  border-color: #e4405f;
}

.social-icon.email:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #0d2550;
}

/* ── ABOUT ───────────────────────────────────── */

.footer-about {
  padding-left: 20px;
}

.footer-about p {
  color: #c5d3e8;
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 22px;
}

/* If you add logo later */
.footer-logo {
  margin-bottom: 18px;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  display: block;
}

/* ── OPENING HOURS ───────────────────────────────────── */

.opening-hours {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 18px;
}

.opening-hours h4 {
  margin-bottom: 12px;
}

.opening-hours h4 i {
  color: var(--yellow);
  margin-right: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #c5d3e8;
  font-size: 13px;
}

.hours-row strong {
  color: #ffffff;
  white-space: nowrap;
}

/* ── COPYRIGHT ───────────────────────────────────── */

.copyright {
  background: #0a1a38;
  text-align: center;
  padding: 14px 20px;
  font-size: 12.5px;
  color: #6b7fa0;
  position: relative;
  z-index: 5;
}

.copyright strong {
  color: var(--yellow);
}

/* ── TABLET ───────────────────────────────────── */

@media (max-width: 992px) {
  .main-footer {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-about {
    padding-left: 0;
    grid-column: 1 / -1;
  }
}

/* ── MOBILE ───────────────────────────────────── */

@media (max-width: 600px) {
  .main-footer {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 40px 25px;
  }

  .footer-about {
    grid-column: auto;
    padding-left: 0;
  }

  .hours-row {
    flex-direction: column;
    gap: 4px;
  }
}
.mini-map {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 20px;
  border: 1px solid #e5e5e5;
}

.mini-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Add to your CSS file */
.product-gallery {
  position: relative;
  overflow: hidden;
}

.gallery-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none; /* Allow clicks to pass through to underlying elements */
}

.gallery-controls button {
  pointer-events: auto; /* Re-enable clicks on the buttons */
}

.price-table-container {
  position: relative;
  z-index: 1; /* Ensure price table is below gallery controls */
}

.social-login {
  margin-top: 26px;
}

.social-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 18px;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.social-divider::before,
.social-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e6e6e6;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  position: relative;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  transition:
          transform 0.2s ease,
          box-shadow 0.2s ease,
          background 0.2s ease,
          border-color 0.2s ease;
  box-sizing: border-box;
  overflow: hidden;
}

.social-btn i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px;
}

.social-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.social-btn:active {
  transform: translateY(0);
}

/* Google */
.google-btn {
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.google-btn i {
  color: #4285f4;
}

.google-btn:hover {
  background: #f8faff;
  border-color: #c6c6c6;
  color: #1f1f1f;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Apple */
.apple-btn {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.apple-btn i {
  color: #ffffff;
}

.apple-btn:hover {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* Mobile */
@media (max-width: 575px) {
  .social-btn {
    height: 48px;
    font-size: 13px;
  }

  .social-btn i {
    left: 16px;
    font-size: 18px;
  }
}