@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

:root {
  --navy-deepest: #060a14;
  --navy-deep: #0a0e1a;
  --navy: #0f1628;
  --navy-mid: #151d35;
  --navy-light: #1a2540;
  --sapphire: #1a3a6b;
  --sapphire-light: #2a5298;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-dim: #8a7434;
  --champagne: #f5f0e8;
  --white: #fefefe;
  --text-muted: #8a94a8;
  --text-body: #c0c8d8;
  --glass-bg: rgba(15, 22, 40, 0.7);
  --glass-border: rgba(201, 168, 76, 0.15);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-gold: 0 4px 30px rgba(201, 168, 76, 0.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--navy-deepest);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--champagne);
  font-weight: 500;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== UTILITY ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 7rem 0; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .label {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.section-header .divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}
.section-header p { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(6, 10, 20, 0.92);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--glass-border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 55px; transition: var(--transition); }
.navbar.scrolled .nav-logo img { height: 45px; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold-light);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--navy-deepest) !important;
  padding: 0.6rem 1.8rem;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { box-shadow: var(--shadow-gold); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { width: 28px; height: 1.5px; background: var(--gold); transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(rgba(6, 10, 20, 0.65), rgba(6, 10, 20, 0.85)),
              url('images/hero_gemstones_bg.png') center/cover no-repeat,
              var(--navy-deepest);
  overflow: hidden;
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-content {
  text-align: center; z-index: 2;
  max-width: 850px; padding: 0 2rem;
}
.hero-content .logo-hero { width: 280px; margin: 0 auto 2rem; animation: fadeInDown 1s ease 0.2s both; }
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--champagne);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.4s both;
}
.hero-content h1 span { color: var(--gold); font-style: italic; }
.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease 0.6s both;
}
.hero-buttons { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp 1s ease 0.8s both; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--navy-deepest);
  padding: 1rem 2.5rem; border: none; border-radius: 2px;
  font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  transition: var(--transition);
}
.btn-primary:hover { box-shadow: 0 8px 40px rgba(201,168,76,0.3); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  padding: 1rem 2.5rem; border: 1px solid var(--gold-dim); border-radius: 2px;
  font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  animation: bounce 2s infinite; z-index: 2;
}
.hero-scroll span { display: block; width: 1px; height: 50px; background: linear-gradient(to bottom, var(--gold), transparent); margin: 0 auto; }
.hero-scroll small { color: var(--gold-dim); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px; }

/* ===== FEATURED COLLECTION ===== */
.featured { background: var(--navy-deep); }
.gem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2rem; }

.gem-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.gem-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-gold); border-color: rgba(201,168,76,0.3); }

.gem-card-image {
  position: relative; overflow: hidden;
  aspect-ratio: 1; background: var(--navy);
}
.gem-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gem-card:hover .gem-card-image img { transform: scale(1.08); }
.gem-card-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--navy-deepest);
  padding: 0.3rem 0.8rem; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
}

.gem-card-info { padding: 1.5rem; }
.gem-card-info h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.gem-card-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.gem-card-meta span { font-size: 0.85rem; color: var(--text-muted); }
.gem-card-meta span strong { color: var(--gold-light); }
.gem-card-price { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--gold); }
.gem-card-action { text-align: center; margin-top: 1rem; }
.gem-card-action .btn-sm {
  display: inline-block; padding: 0.5rem 1.5rem;
  border: 1px solid var(--gold-dim); color: var(--gold-light);
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px;
  background: transparent; transition: var(--transition);
}
.gem-card-action .btn-sm:hover { background: var(--gold); color: var(--navy-deepest); border-color: var(--gold); }

/* ===== COLLECTION FILTERS ===== */
.collection { background: var(--navy-deepest); }
.filter-bar {
  display: flex; gap: 1rem; flex-wrap: wrap;
  justify-content: center; margin-bottom: 3rem;
}
.filter-btn {
  background: transparent; border: 1px solid var(--glass-border);
  color: var(--text-muted); padding: 0.6rem 1.5rem;
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 1.5px; transition: var(--transition);
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* ===== ABOUT ===== */
.about { background: var(--navy-deep); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { position: relative; border-radius: 4px; overflow: hidden; }
.about-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-image::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--gold-dim);
  border-radius: 4px; pointer-events: none;
  transform: translate(12px, 12px); transition: var(--transition);
}
.about-image:hover::after { transform: translate(6px, 6px); }

.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.2rem; font-size: 1.1rem; }

.stats-row { display: flex; gap: 2.5rem; margin-top: 2rem; }
.stat { text-align: center; }
.stat .num { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--gold); display: block; }
.stat .lbl { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }

/* ===== HERITAGE ===== */
.heritage {
  position: relative; padding: 8rem 0;
  background: linear-gradient(rgba(6,10,20,0.75), rgba(6,10,20,0.85));
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.heritage-content { max-width: 700px; }
.heritage-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.heritage-content p { font-size: 1.15rem; margin-bottom: 1.2rem; }
.heritage-timeline { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.timeline-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.2rem; background: var(--glass-bg);
  border-left: 2px solid var(--gold-dim);
}
.timeline-item .year { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold); white-space: nowrap; }
.timeline-item p { font-size: 0.95rem; color: var(--text-muted); }

/* ===== WHY CHOOSE US ===== */
.why-us { background: var(--navy-deep); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; }
.feature-card {
  text-align: center; padding: 2.5rem 1.5rem;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 4px; transition: var(--transition);
}
.feature-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1.2rem; display: block; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--navy-deepest); }
.testimonial-slider { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s ease; }
.testimonial-slide { min-width: 100%; padding: 0 1rem; }
.testimonial-card {
  text-align: center; padding: 3rem 2rem;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 4px;
}
.testimonial-card .stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 1.5rem; }
.testimonial-card blockquote {
  font-size: 1.2rem; font-style: italic;
  color: var(--champagne); margin-bottom: 1.5rem;
  line-height: 1.8;
}
.testimonial-card .author { color: var(--gold); font-weight: 600; }
.testimonial-card .location { color: var(--text-muted); font-size: 0.9rem; }

.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--glass-border); border: none;
  cursor: pointer; transition: var(--transition);
}
.slider-dot.active { background: var(--gold); }

/* ===== CONTACT ===== */
.contact { background: var(--navy-deep); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }

.contact-info h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 1.5rem; font-size: 1.05rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-detail .icon { font-size: 1.3rem; color: var(--gold); flex-shrink: 0; margin-top: 0.2rem; }
.contact-detail a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-dim); }
.form-group input, .form-group textarea, .form-group select {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--champagne); padding: 0.9rem 1rem;
  font-size: 1rem; border-radius: 2px;
  transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold-dim); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--navy); }

/* ===== FOOTER ===== */
.footer { background: var(--navy-deepest); border-top: 1px solid var(--glass-border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-about img { height: 50px; margin-bottom: 1rem; }
.footer-about p { font-size: 0.95rem; color: var(--text-muted); }
.footer h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 1.2rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { color: var(--text-muted); font-size: 0.9rem; }
.footer ul a:hover { color: var(--gold-light); }

.newsletter-form { display: flex; gap: 0; margin-top: 0.5rem; }
.newsletter-form input {
  flex: 1; background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--champagne); padding: 0.7rem 1rem; font-size: 0.9rem;
  border-right: none; outline: none;
}
.newsletter-form button {
  background: var(--gold); color: var(--navy-deepest); border: none;
  padding: 0.7rem 1.2rem; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 1px; font-weight: 700; transition: var(--transition);
}
.newsletter-form button:hover { background: var(--gold-light); }

.footer-bottom {
  text-align: center; padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted); font-size: 0.85rem;
}

/* ===== GEM MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,10,20,0.9); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  padding: 2rem; opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }

.modal {
  background: var(--navy); border: 1px solid var(--glass-border);
  border-radius: 4px; max-width: 900px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
}
.modal-image { background: var(--navy-deep); }
.modal-image img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.modal-details { padding: 2.5rem; }
.modal-details h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.modal-details .type { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 1.5rem; display: block; }
.modal-specs { margin: 1.5rem 0; }
.modal-spec { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--glass-border); }
.modal-spec .label { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.modal-spec .value { color: var(--champagne); }
.modal-price { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--gold); margin: 1.5rem 0; }
.modal-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--gold-light);
  font-size: 1.5rem; cursor: pointer; z-index: 10;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
}
.modal-inquiry { width: 100%; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); border: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }

/* ===== MOBILE NAV ===== */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 400px;
  height: 100vh; background: var(--navy); z-index: 1001;
  padding: 5rem 2rem 2rem; transition: right 0.4s ease;
  border-left: 1px solid var(--glass-border);
}
.mobile-menu.open { right: 0; }
.mobile-menu .nav-links { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu .nav-links a { font-size: 1.2rem; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: none; }
.mobile-overlay.open { display: block; }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { 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 sparkle { 0%, 100% { opacity: 0; transform: scale(0); } 50% { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid, .contact-grid, .modal { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-image img { min-height: 300px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content .logo-hero { width: 200px; }
  .stats-row { flex-direction: column; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-padding { padding: 4rem 0; }
  .gem-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gem-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .filter-bar { gap: 0.5rem; }
}
