/* =============================================
   CROWN GEM — INDEX (HOME PAGE) CSS
   Page-specific styles for index.php only
   Shared styles live in:
     global.css · topbar.css · header.css · footer.css
   ============================================= */

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 6px;
  min-height: 580px;
  background: var(--white);
}

/* --- Left Panel --- */
.hero-left {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 60px 64px;
}

.hero-left-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/13.png');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transition: transform 8s ease;
}

.hero-left:hover .hero-left-bg {
  transform: scale(1.04);
}

.hero-left-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(10,10,20,0.85) 0%, rgba(10,10,20,0.50) 100%); */
}

.hero-left-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.hero-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 1);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 380px;
}

/* --- Right Panel --- */
.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-right-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/3.png');
  background-size: cover;
  background-position: center right;
  transition: transform 8s ease;
}

.hero-right:hover .hero-right-bg {
  transform: scale(1.04);
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.10) 60%); */
   background: linear-gradient(135deg, rgba(10,10,20,0.35) 0%, rgba(10,10,20,0.30) 100%);
}

.hero-right-content {
  position: relative;
  z-index: 2;
  padding: 40px 36px;
}

.hero-right-content h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-right-content h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-right-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 1);
  line-height: 1.7;
  max-width: 260px;
}

/* =============================================
   GEM CATEGORIES STRIP
   ============================================= */
.gem-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.gem-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gem-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
}

.gem-strip-item:last-child {
  border-right: none;
}

.gem-strip-item:hover {
  background: var(--off-white);
}

.gem-strip-img {
  width: 60px;
  height: 60px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.gem-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gem-strip-item:hover .gem-strip-img img {
  transform: scale(1.08);
}

.gem-strip-info h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.gem-strip-info span {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* =============================================
   SUMMER COLLECTION BANNER
   ============================================= */
.summer-banner {
  background: var(--dark-2);
  overflow: hidden;
  position: relative;
}

.summer-banner .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  min-height: 320px;
}

.summer-content {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.summer-content .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.summer-content h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 8px;
}

.summer-content h2 strong {
  font-weight: 600;
  color: var(--gold-light);
}

.summer-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 320px;
}

.summer-image {
  position: relative;
  height: 100%;
  width: 130%;
  min-height: 320px;
  overflow: hidden;
}

.summer-image img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transition: transform 6s ease;
}

.summer-banner:hover .summer-image img {
  transform: scale(1.05);
}

.summer-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--dark-2) 0%, transparent 40%);
  z-index: 1;
}

/* =============================================
   WHY CHOOSE US — THE CROWN GEM PROMISE
   ============================================= */
.promise-section {
  padding: 80px 0;
  background: var(--white);
}

.promise-header {
  text-align: center;
  margin-bottom: 56px;
}

.promise-header .section-label {
  display: block;
  text-align: center;
}

.promise-header .section-title {
  margin-top: 8px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.promise-card {
  padding: 36px 24px;
  border: 1px solid var(--border);
  text-align: left;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.promise-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.promise-card:hover::before {
  width: 100%;
}

.promise-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.promise-icon {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 20px;
}

.promise-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.promise-card p {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.75;
}

/* =============================================
   FEATURED STONES
   ============================================= */
.featured-section {
  padding: 80px 0;
  background: var(--off-white);
}

.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.featured-header .left .section-title {
  font-size: clamp(28px, 3.5vw, 42px);
}

.featured-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
}

.featured-main-img {
  position: sticky;
  top: 100px;
  border-radius: 2px;
  overflow: hidden;
  height: 460px;
}

.featured-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-main-img:hover img {
  transform: scale(1.04);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* --- Product Cards --- */
.product-card {
  background: var(--white);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
}

.product-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.90);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 13px;
  transition: all var(--transition);
  z-index: 2;
  border: none;
  cursor: pointer;
}

.product-wishlist:hover {
  background: var(--gold);
  color: var(--white);
}

.product-info {
  padding: 14px 16px;
}

.product-info h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.product-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.product-detail {
  font-size: 12px;
  color: var(--text-light);
}

.product-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:6px;
}

.product-title h4{
    margin:0;
    font-family:var(--serif);
    font-size:18px;
    font-weight:600;
    color:var(--text-dark);
}

.product-price{
    margin:0;
    font-family:var(--serif);
    font-size:18px;
    font-weight:600;
    color:var(--gold); /* or var(--text-dark) */
}

.product-price span{
    font-size:14px;
    font-weight:400;
}

/* =============================================
   COLLECTOR'S PIECES
   ============================================= */
.collectors-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.collector-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.collector-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}

.collector-card:hover .collector-card-bg {
  transform: scale(1.05);
}

.collector-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}

.collector-card-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  width: 100%;
}

.collector-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.collector-card-content h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.collector-card-content p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 360px;
}

.collector-price {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 24px;
}

.collector-price strong {
  font-weight: 600;
}

/* =============================================
   CROWN GEM STORY
   ============================================= */
.story-section {
  padding: 100px 0;
  background: var(--white);
}

.story-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-content .section-title {
  margin: 10px 0 20px;
}

.story-content p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

.story-content p:last-of-type {
  margin-bottom: 32px;
}

.story-video {
  position: relative;
  height: 440px;
  overflow: hidden;
  border-radius: 2px;
}

.story-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 22px;
  cursor: pointer;
  transition: all var(--transition);
  padding-left: 4px;
  border: none;
}

.play-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.08);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: 80px 0;
  background: var(--off-white);
}

.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.testimonials-header .left .section-title {
  margin-top: 6px;
}

.testimonials-nav {
  display: flex;
  gap: 12px;
}

.testimonials-nav button {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 14px;
  transition: all var(--transition);
  cursor: pointer;
  background: none;
}

.testimonials-nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.stars i {
  color: var(--gold);
  font-size: 12px;
}

.testimonial-card blockquote {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 550;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 24px;
  /* font-style: italic; */
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 12px;
  color: var(--text-light);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/14.png');
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.cta-banner:hover .cta-banner-bg {
  transform: scale(1.04);
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,20,35,0.88) 0%, rgba(10,20,35,0.60) 100%);
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-content {
  max-width: 560px;
  text-align: center;
}

.cta-content .section-label {
  color: var(--gold-light);
  margin-bottom: 12px;
}

.cta-content h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-content h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.cta-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 420px;
}

/* =============================================
   HOME PAGE — RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .promise-grid       { grid-template-columns: repeat(2, 1fr); }
  .featured-layout    { grid-template-columns: 220px 1fr; }
}

@media (max-width: 900px) {
  .hero               { grid-template-columns: 1fr; }
  .hero-right         { min-height: 300px; }
  .gem-strip .container { grid-template-columns: repeat(2, 1fr); }
  .summer-banner .container { grid-template-columns: 1fr; }
  .summer-image       { min-height: 220px; }
  .collectors-section { grid-template-columns: 1fr; }
  .story-section .container { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .featured-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .featured-layout    { grid-template-columns: 1fr; }
  .featured-main-img  { display: none; }
  .promise-grid       { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .hero-left          { padding: 40px 24px; }
  .collector-card-content { padding: 32px 24px; }
}

@media (max-width: 600px) {
  .gem-strip .container { grid-template-columns: 1fr; }
  .featured-grid      { grid-template-columns: 1fr; }
  .story-section      { padding: 60px 0; }
  .testimonials-section { padding: 60px 0; }
}
