/* Jewelry Box Website Styles */
:root {
  --accent: #9b59b6;
  --accent-dark: #7d3c98;
  --bg: #fff;
  --text: #222;
  --muted: #6c757d;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(155,89,182,0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: 'Poppins', Arial, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.navbar {
  background: #fff; box-shadow: var(--shadow); padding: 0.5rem 0;
}
.nav-container { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 1rem; }
.logo-img { width: 60px; height: 60px; object-fit: contain; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--accent-dark); font-weight: 700; }
.nav-menu { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav-link { color: var(--text); font-weight: 500; font-size: 1.1rem; position: relative; }
.nav-link.active, .nav-link:hover { color: var(--accent); }

.hero { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 2rem; padding: 3rem 1rem 2rem; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }
.hero-left, .hero-right { flex: 1; max-width: 650px; display: flex; flex-direction: column; align-items: stretch; }
.hero-title, .hero-subtitle { text-align: left; }
.hero-buttons { width: 100%; justify-content: flex-start; margin-top: 1.5rem; }
.hero-right { display: flex; }
.hero-graphic { max-width: 400px; width: 100%; border-radius: var(--radius); margin: 0 auto; box-shadow: var(--shadow); display: block; }

.hero-logo {
  width: 220px; height: 220px; object-fit: contain; margin-bottom: 1.5rem;
}
.hero-logo-large { width: 180px; height: 180px; object-fit: contain; margin-bottom: 1.5rem; display: block; }
.hero-graphic { max-width: 400px; width: 100%; border-radius: var(--radius); margin: 0 auto; box-shadow: var(--shadow); display: block; }
.hero-title { font-size: 2.5rem; font-family: 'Playfair Display', serif; color: var(--accent-dark); margin: 0 0 1rem; text-align: center; }
.hero-subtitle { font-size: 1.2rem; color: var(--muted); margin-bottom: 2rem; text-align: center; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }
.btn { padding: 0.75rem 2rem; border-radius: var(--radius); border: none; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: #fff; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

.section-title { font-size: 2.5rem; color: var(--accent-dark); margin: 2.5rem 0 1.5rem; text-align: left; font-family: 'Playfair Display', serif; font-weight: 700; }
@media (max-width: 900px) {
  .section-title { font-size: 2rem; text-align: center; }
}

.products-showcase, .gallery-section { padding: 2rem 0; }
.products-grid-large, .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.product-item, .gallery-img { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.product-showcase-img, .gallery-img { width: 100%; height: 240px; object-fit: cover; display: block; }
.product-details { padding: 1rem; text-align: center; }
.product-details h3 { margin: 0 0 0.5rem; color: var(--accent-dark); font-size: 1.1rem; }
.product-details p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.about-section, .contact-section, .events-section { padding: 2rem 0; }
/* About page two-column layout */
.about-main { display: flex; flex-direction: row; align-items: flex-start; gap: 3rem; max-width: 1100px; margin: 0 auto; }
.about-main-img { width: 510px; height: 510px; min-width: 480px; min-height: 480px; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); align-self: flex-start; }
.about-main-text { flex: 1; }
.about-section-title { font-size: 2.5rem; color: var(--accent-dark); margin: 2.5rem 0 1.5rem; text-align: left; font-family: 'Playfair Display', serif; }
.section-title { font-size: 1.3rem; color: var(--accent-dark); margin: 2rem 0 1rem; text-align: left; font-family: 'Poppins', Arial, sans-serif; }
@media (max-width: 900px) {
  .about-main { flex-direction: column; gap: 1.5rem; align-items: center; }
  .about-main-img { width: 300px; height: 300px; min-width: 180px; min-height: 180px; }
  .about-section-title { font-size: 2rem; text-align: center; }
  .section-title { text-align: center; }
}

.events-list { display: flex; flex-direction: column; gap: 2rem; max-width: 700px; margin: 0 auto; }
.event-card { display: flex; align-items: center; gap: 2rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.event-date { background: var(--accent); color: #fff; border-radius: 50%; width: 70px; height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; }
.event-details h3 { margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--accent-dark); }
.event-details p { margin: 0; color: var(--muted); }
.custom-request-box { background: #f8f9fa; border-radius: var(--radius); padding: 1.5rem; margin: 2rem auto; max-width: 500px; text-align: center; box-shadow: var(--shadow); }
.custom-request-box h3 { margin: 0 0 0.5rem; color: var(--accent-dark); }
.custom-request-box a { color: var(--accent-dark); font-weight: 600; }

.contact-info-section { max-width: 500px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.contact-info-section h2 { color: var(--accent-dark); margin-top: 0; }
.contact-info-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { width: 40px; height: 40px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-details h3 { margin: 0 0 0.2rem; color: var(--accent-dark); }
.contact-details p { margin: 0; color: var(--muted); }
.social-contact { margin-top: 2rem; }
.social-links-large { display: flex; gap: 1rem; }
.social-link-large { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: #f8f9fa; border-radius: 10px; color: var(--accent-dark); font-size: 0.95rem; }
.social-link-large i { font-size: 1.2rem; }

.footer { background: #fff; box-shadow: var(--shadow); margin-top: 3rem; }
.footer-content { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 1rem; }
.footer-title { font-size: 1.25rem; color: var(--accent-dark); margin: 0 0 0.3rem 0; font-family: 'Playfair Display', serif; font-weight: 700; }
.footer-tagline { margin: 0 0 0.5rem 0; color: var(--muted); font-size: 1rem; text-align: left; }
.footer-logo { display: flex; align-items: flex-start; gap: 1rem; }
.footer-section { min-width: 180px; }
.footer-logo-img { width: 40px; height: 40px; object-fit: contain; }
.footer-section h4 { margin: 0 0 0.5rem; color: var(--accent-dark); }
.footer-section p, .footer-section a { color: var(--muted); font-size: 0.95rem; }
.footer-links { display: flex; gap: 1rem; }
.social-link { color: var(--accent-dark); font-size: 1.3rem; }
.footer-bottom { text-align: center; color: var(--muted); font-size: 0.95rem; padding: 1rem 0 0; }

/* Footer Facebook link styling */
.footer-links .social-link { color: var(--accent-dark); font-size: 1.3rem; display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-links .social-link i { font-size: 1.5rem; }
.footer-links .social-link:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 900px) {
  .footer-content { flex-direction: column; align-items: center; gap: 1.5rem; }
  .about-main { flex-direction: column; gap: 1.5rem; align-items: center; }
  .event-card { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .hero { flex-direction: column; gap: 1.5rem; }
  .hero-left, .hero-right { max-width: 100%; width: 100%; align-items: center; }
  .hero-title, .hero-subtitle { text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-graphic { margin: 0 auto; }
}
@media (max-width: 600px) {
  .nav-menu { gap: 1rem; }
  .products-grid-large, .gallery-grid { grid-template-columns: 1fr; }
  .footer-content { padding: 1.5rem 0.5rem 1rem; }
  .about-main-img, .hero-logo { width: 140px; height: 140px; }
} 

/* Hero graphic */
.hero-graphic {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius);
  margin: 2rem auto 1.5rem;
  display: block;
  box-shadow: var(--shadow);
}
/* Footer logo left align and size */
.footer-logo-section { align-items: flex-start !important; }
.footer-logo-img { width: 60px; height: 60px; object-fit: contain; }
.footer-logo { display: flex; align-items: center; gap: 1rem; }
.footer-section h4 { margin-top: 0; }
.footer-links { display: flex; gap: 1rem; }
.social-link { color: var(--accent-dark); font-size: 1.3rem; display: flex; align-items: center; gap: 0.5rem; }
.social-link i { font-size: 1.5rem; }
/* Remove Instagram from footer/contact if present */
.footer-links .social-link:not([href*="facebook"]) { display: none; }

/* Gallery hover effect */
.product-showcase-img, .gallery-img {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.product-showcase-img:hover, .gallery-img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(155,89,182,0.18);
}
.gallery-img::after, .product-showcase-img::after {
  content: 'Click to enlarge';
  display: none;
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 0;
  background: rgba(155,89,182,0.18);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  border-radius: var(--radius);
}
.product-showcase-img:hover::after, .gallery-img:hover::after {
  display: flex;
}

/* Modal styles */
#gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}
#gallery-modal.active { display: flex; }
#gallery-modal img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}
#gallery-modal .close-modal {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10001;
} 

/* About page photo alignment */
.about-main { align-items: flex-start; }
.about-main-img { margin-top: 2.5rem; }
.about-main-img.align-to-header { margin-top: 2.5rem; }

/* Header consistency */
.about-section-title, .events-section-title, .contact-section-title { font-size: 2.5rem; color: var(--accent-dark); margin: 2.5rem 0 1.5rem; text-align: left; font-family: 'Playfair Display', serif; }
.section-title { font-size: 1.3rem; color: var(--accent-dark); margin: 2rem 0 1rem; text-align: left; font-family: 'Poppins', Arial, sans-serif; }
@media (max-width: 900px) {
  .about-main-img { margin-top: 0.5rem; }
  .about-section-title, .events-section-title, .contact-section-title { font-size: 2rem; text-align: center; }
  .section-title { text-align: center; }
} 

.contact-section-title { font-size: 2.5rem; color: var(--accent-dark); margin: 2.5rem 0 1.5rem; text-align: left; font-family: 'Playfair Display', serif; }
.contact-intro-col { text-align: left; }
@media (max-width: 900px) {
  .contact-section-title { font-size: 2rem; text-align: center; }
  .contact-intro-col { text-align: center; }
} 

.hero-logo-xlarge { width: 360px; height: 360px; object-fit: contain; margin: 0 auto 1.5rem auto; display: block; }
.hero-graphic-xlarge { max-width: 440px; width: 100%; border-radius: var(--radius); margin: 0 auto; box-shadow: var(--shadow); display: block; } 

.products-grid-large { padding-left: 5px; padding-right: 5px; }
.events-section-title { text-align: center; }
.contact-info-item .contact-icon { width: 40px; height: 40px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-right: 1rem; } 

.contact-flex { display: flex; gap: 2.5rem; align-items: flex-start; justify-content: center; max-width: 1100px; margin: 0 auto; }
.contact-intro-col { flex: 1; min-width: 260px; max-width: 400px; }
.contact-info-section { flex: 1; min-width: 320px; max-width: 480px; margin-top: 2.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.contact-icon { width: 40px; height: 40px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; min-width: 40px; min-height: 40px; }
.contact-icon i { color: var(--bg); font-size: 1.6rem; }
@media (max-width: 900px) {
  .contact-flex { flex-direction: column; gap: 1.5rem; align-items: stretch; }
  .contact-intro-col, .contact-info-section { max-width: 100%; }
} 

.footer-social-logo { display: flex; justify-content: center; margin-top: 0.5rem; }
.footer-social-logo i { color: var(--accent-dark); } 
.footer-social-logo.left-align { display: flex; justify-content: flex-start; margin-top: 0.5rem; } 

.products-header-indent { margin-left: 40px; }
@media (max-width: 900px) { .products-header-indent { margin-left: 0; } } 