/* Roop Mahal Jewellers - Main Stylesheet */
:root {
  --gold: #C8A951;
  --gold-dark: #A07D2B;
  --gold-light: #E8D5A0;
  --maroon: #7B1F3A;
  --maroon-dark: #5A1128;
  --cream: #FFF9F0;
  --dark: #1A1A1A;
  --dark-2: #2D2D2D;
  --gray: #666;
  --gray-light: #999;
  --white: #fff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark);
  color: var(--gold-light);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: var(--gold); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-right .social-links { display: flex; gap: 12px; }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 55px; width: auto; }
.logo-text h1 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--maroon);
  letter-spacing: 1px;
  line-height: 1.2;
}
.logo-text span {
  font-size: 11px;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.nav ul { display: flex; gap: 30px; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav a:hover, .nav a.active { color: var(--maroon); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--maroon);
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 550px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 650px;
  padding: 0 60px;
}
.hero-content h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 15px;
}
.hero-content h2 span { color: var(--gold); }
.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.btn-maroon {
  background: var(--maroon);
  color: var(--white);
}
.btn-maroon:hover { background: var(--maroon-dark); }

/* ===== SECTIONS ===== */
.section { padding: 70px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-cream { background: var(--cream); }
.section-maroon { background: var(--maroon); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--maroon);
  margin-bottom: 10px;
}
.section-dark .section-header h2 { color: var(--gold); }
.section-maroon .section-header h2 { color: var(--gold); }
.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 15px auto;
}
.section-header p {
  font-size: 16px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}
.section-dark .section-header p { color: var(--gold-light); }

/* ===== COLLECTIONS GRID ===== */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.collection-card {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.collection-card img { width: 100%; height: 280px; object-fit: cover; }
.collection-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
}
.collection-card .overlay h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 5px;
}
.collection-card .overlay p { font-size: 13px; opacity: 0.8; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature-item {
  text-align: center;
  padding: 30px 20px;
}
.feature-icon {
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 15px;
}
.feature-item h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 10px;
}
.feature-item p { font-size: 14px; color: var(--gray); }
.section-dark .feature-item p { color: var(--gold-light); }

/* ===== ABOUT SPLIT ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img { border-radius: 5px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.about-text h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--maroon);
  margin-bottom: 20px;
}
.about-text p { margin-bottom: 15px; color: var(--gray); }

/* ===== BRIDAL BANNER ===== */
.bridal-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.bridal-banner .hero-bg { filter: brightness(0.35); }
.bridal-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.bridal-content h2 {
  font-family: var(--font-heading);
  font-size: 42px;
  margin-bottom: 15px;
}
.bridal-content h2 span { color: var(--gold); }
.bridal-content p { font-size: 18px; margin-bottom: 25px; opacity: 0.9; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  border-top: 3px solid var(--gold);
}
.testimonial-card .stars { color: var(--gold); font-size: 16px; margin-bottom: 15px; }
.testimonial-card p { font-style: italic; color: var(--gray); margin-bottom: 15px; font-size: 15px; }
.testimonial-card .author { font-weight: 600; color: var(--maroon); font-size: 14px; }

/* ===== CONTACT INFO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 25px; }
.contact-info-item { display: flex; gap: 15px; align-items: flex-start; }
.contact-info-item .icon {
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 16px; margin-bottom: 5px; }
.contact-info-item p { font-size: 14px; color: var(--gray); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* ===== MAP ===== */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 350px; border: 0; }

/* ===== HOURS TABLE ===== */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.hours-table td:first-child { font-weight: 600; }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  background: var(--maroon);
  padding: 50px 0;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--white);
  margin-bottom: 8px;
}
.page-hero .breadcrumb {
  font-size: 14px;
  color: var(--gold-light);
}
.page-hero .breadcrumb a { color: var(--gold); }

/* ===== PRODUCT GRID (collections page) ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card {
  background: var(--white);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.product-card img { width: 100%; height: 300px; object-fit: cover; }
.product-card .info {
  padding: 20px;
  text-align: center;
}
.product-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--maroon);
  margin-bottom: 8px;
}
.product-card p { font-size: 13px; color: var(--gray); }

/* ===== ABOUT PAGE ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.value-card {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}
.value-card .icon { font-size: 40px; color: var(--gold); margin-bottom: 15px; }
.value-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--maroon);
}
.value-card p { font-size: 14px; color: var(--gray); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--gold-light);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer p { font-size: 14px; line-height: 1.8; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: var(--gold-light); font-size: 14px; transition: color 0.3s; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--dark-2);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}
.footer .social-links { display: flex; gap: 15px; margin-top: 15px; }
.footer .social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s;
}
.footer .social-links a:hover { background: var(--gold); color: var(--dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .collections-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h2 { font-size: 36px; }
  .about-split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar .container { justify-content: center; text-align: center; }
  .top-bar-left, .top-bar-right { display: none; }
  .mobile-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
  .nav.active { display: block; }
  .nav ul { flex-direction: column; padding: 15px 20px; gap: 0; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .hero { height: 400px; }
  .hero-content { padding: 0 30px; }
  .hero-content h2 { font-size: 28px; }
  .collections-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 28px; }
  .bridal-content h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
