/* =============================================
   CROWN GEM — INDEX (HOME PAGE) CSS
   Matches UI Design: Home.png
   ============================================= */

/* Base Section Spacing */
.home-section {
  padding: 48px 0;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0.15) 100%),
              url('../img/13.png') center right / cover no-repeat;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 60px 0 100px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 540px;
}

.hero-content .eyebrow {
  color: var(--gold);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-family: var(--serif);
  font-size: 68px;
  font-weight: 500;
  line-height: 1.08;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-content h1 span {
  display: block;
}

.hero-content p {
  color: #555555;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Hero Glass Card (Right) --- */
.hero-card-wrap {
  display: flex;
  justify-content: flex-end;
}

.hero-glass-card {
  width: 320px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.hero-glass-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 16px;
}

.hero-prop-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-prop-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-prop-label {
  color: #777777;
}

.hero-prop-val {
  color: #222222;
  font-weight: 600;
}

.hero-card-btn {
  width: 100%;
  background: #E8DCBE;
  color: #73542E;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  display: block;
  margin-bottom: 16px;
  transition: all var(--transition);
}

.hero-card-btn:hover {
  background: var(--gold);
  color: #ffffff;
}

.hero-card-pill {
  background: #606864;
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-card-pill svg {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.hero-card-pill-text {
  display: flex;
  flex-direction: column;
}

.hero-card-pill-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-card-pill-sub {
  font-size: 10.5px;
  color: #D3DCD8;
}

/* ===== HIGHLIGHTS OVERLAY BAR ===== */
.highlights-section {
  position: relative;
  margin-top: -48px;
  z-index: 10;
  padding-bottom: 40px;
}

.highlights-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.06);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border: 1px solid var(--line);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.highlight-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FAF6EE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 18px;
  height: 18px;
}

.highlight-text h4 {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 4px;
}

.highlight-text p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ===== SHOP GEMS BY CATEGORY ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.cat-box {
  background: #F8F6F1;
  border-radius: var(--radius-md);
  padding: 24px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 200px;
}

.cat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  background: #F8F6F1;
  /* border: 1px solid rgba(198, 154, 89, 0.3); */
}

.cat-box-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 16px;
  transition: transform var(--transition);
}

.cat-box:hover .cat-box-img {
  transform: scale(1.06);
}

.cat-box-icon {
  width: 60px;
  height: 60px;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-box-icon svg {
  width: 48px;
  height: 48px;
}

.cat-box h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 2px;
}

.cat-box span {
  font-size: 10.5px;
  color: var(--muted);
}

/* ===== SHOP DIAMONDS BY SHAPE ===== */
.diamonds-shape-card {
  background: #F8F7F4;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 40px;
  align-items: center;
}

.diamonds-shape-left h3 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: #222222;
  margin-bottom: 20px;
}

.diamonds-shape-ring {
  width: 100%;
  max-width: 280px;
}

.diamonds-shape-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 12px;
  text-align: center;
}

.shape-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition);
  text-decoration: none;
}

.shape-node:hover {
  transform: translateY(-3px);
}

.shape-node-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 8px;
}

.shape-node span {
  font-size: 11px;
  color: #444444;
  font-weight: 500;
}

/* ===== FEATURED STONES ===== */
.featured-row-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.featured-product-card {
  background: #F9F7F3;
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  text-decoration: none;
}

.featured-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(243, 242, 242, 0.06);
  background: #ffffff;
  /* border: 1px solid rgba(198, 154, 89, 0.25); */
}

.featured-card-top {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.featured-product-img {
  max-height: 110px;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.featured-product-card:hover .featured-product-img {
  transform: scale(1.05);
}

.featured-heart-btn {
  position: absolute;
  top: 0;
  right: 0;
  color: #8E7B62;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  transition: color var(--transition);
}

.featured-heart-btn:hover {
  color: var(--gold);
}

.featured-heart-btn svg {
  width: 16px;
  height: 16px;
}

.featured-info-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.featured-info-header h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: #222222;
}

.featured-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
}

.featured-sub {
  font-size: 11.5px;
  color: #555555;
  margin-bottom: 8px;
  line-height: 1.35;
}

.featured-detail {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: auto;
}

/* ===== BANNER SPLIT ROW (QUOTE & SERVICES) ===== */
.split-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}

.quote-banner-card {
  background: #F4EFE6;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-banner-card h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: #222222;
  margin-bottom: 12px;
}

.quote-banner-card p {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 260px;
}

.quote-banner-img {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 180px;
  pointer-events: none;
}

.services-box-grid {
  background: #F9F8F5;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 20px;
  align-items: center;
}

.service-item-node {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service-item-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  flex-shrink: 0;
}

.service-item-icon svg {
  width: 24px;
  height: 24px;
}

.service-item-text h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #222222;
  margin-bottom: 4px;
}

.service-item-text p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

/* ===== 4 VISUAL FEATURE CARDS ROW ===== */
.visual-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.visual-feature-card {
  position: relative;
  height: 270px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  
}

.visual-feature-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
  
}

.visual-feature-card:hover .visual-feature-card-bg {
  transform: scale(1.06);
}

.visual-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 25, 23, 0.88) 0%, rgba(14, 25, 23, 0.3) 60%, rgba(14, 25, 23, 0.05) 100%);
  z-index: 1;
}

.visual-feature-content {
  position: relative;
  z-index: 2;
}

.visual-feature-content h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.visual-feature-content p {
  font-size: 12px;
  color: #E2DDD5;
  line-height: 1.45;
  margin-bottom: 12px;
}

.visual-feature-link {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.visual-feature-card:hover .visual-feature-link {
  color: var(--gold-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-card-wrap { justify-content: flex-start; }
  .highlights-card { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-row-grid { grid-template-columns: repeat(3, 1fr); }
  .split-banner-grid { grid-template-columns: 1fr; }
  .services-box-grid { grid-template-columns: repeat(2, 1fr); }
  .visual-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 48px; }
  .diamonds-shape-card { grid-template-columns: 1fr; }
  .diamonds-shape-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-row-grid { grid-template-columns: repeat(2, 1fr); }
  .visual-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .highlights-card { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-row-grid { grid-template-columns: 1fr; }
  .services-box-grid { grid-template-columns: 1fr; }
}

/* ===== FLOATING SOCIAL MEDIA SIDEBAR ===== */
.floating-social-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 8px;
  border-radius: 36px;
  border: 1px solid rgba(198, 154, 89, 0.35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(198, 154, 89, 0.15);
}

.floating-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 18px;
  text-decoration: none;
  position: relative;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  border: none;
}

.floating-social-btn:hover {
  transform: scale(1.15) translateX(-4px);
}

/* WhatsApp: Vibrant Emerald Green */
.floating-social-btn--whatsapp {
  background: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}
.floating-social-btn--whatsapp:hover {
  background: #20BA5A;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
}

/* Instagram: Multi-tone Radiant Sunset Gradient */
.floating-social-btn--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.45);
}
.floating-social-btn--instagram:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 22px rgba(214, 36, 159, 0.7);
}

/* Facebook: Vibrant Royal Blue */
.floating-social-btn--facebook {
  background: #1877F2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}
.floating-social-btn--facebook:hover {
  background: #0D65D9;
  box-shadow: 0 6px 22px rgba(24, 119, 242, 0.65);
}

/* Phone: Shimmering Rich Gold */
.floating-social-btn--phone {
  background: linear-gradient(135deg, #DFB257 0%, #C69A59 100%);
  box-shadow: 0 4px 14px rgba(198, 154, 89, 0.5);
}
.floating-social-btn--phone:hover {
  background: linear-gradient(135deg, #F0C469 0%, #B58847 100%);
  box-shadow: 0 6px 22px rgba(198, 154, 89, 0.75);
}

/* Email: Deep Luxury Emerald Ink */
.floating-social-btn--email {
  background: linear-gradient(135deg, #24463F 0%, #152A26 100%);
  box-shadow: 0 4px 14px rgba(21, 42, 38, 0.45);
}
.floating-social-btn--email:hover {
  background: linear-gradient(135deg, #2D584F 0%, #0E1F1C 100%);
  box-shadow: 0 6px 22px rgba(21, 42, 38, 0.7);
}

/* Tooltip on hover */
.floating-social-tooltip {
  position: absolute;
  right: 54px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #152A26;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.floating-social-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #152A26;
}

.floating-social-btn:hover .floating-social-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .floating-social-bar {
    right: 12px;
    padding: 8px 6px;
    gap: 8px;
    border-radius: 28px;
  }
  .floating-social-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .floating-social-tooltip {
    display: none;
  }
}

