/* style.css - Padmavati Jewellers Pvt Ltd */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* CSS VARIABLES - DESIGN SYSTEM */
:root {
  --primary-gold: #D4AF37;      /* Metallic Gold */
  --light-gold: #FFDF00;        /* Bright Gold */
  --pale-gold: #F3E5AB;         /* Muted Champagne Gold */
  --dark-gold: #9b7a2f;         /* Bronze/Antique Gold */
  --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-glow: 0 0 15px rgba(212, 175, 55, 0.4);
  
  --bg-dark: #0c0b0a;           /* Obsidian Black with Warm Undertone */
  --bg-card: rgba(22, 20, 18, 0.7);
  --bg-nav: rgba(12, 11, 10, 0.85);
  
  --text-light: #f5f4f0;        /* Cream White */
  --text-muted: #b8b3a9;        /* Warm Grey */
  --border-gold: rgba(212, 175, 55, 0.2);
  --border-gold-focus: rgba(212, 175, 55, 0.6);
  
  --font-heading: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* RESET & BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--dark-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* REUSABLE CLASSES & GRADIENTS */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-padding {
  padding: 100px 8%;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 5%;
  }
}

/* BUTTONS */
.btn-gold {
  position: relative;
  display: inline-block;
  padding: 12px 35px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #000;
  background: var(--gold-gradient);
  border: none;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
  color: #000;
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-block;
  padding: 11px 34px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--primary-gold);
  background: transparent;
  border: 1px solid var(--primary-gold);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

/* HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  max-width: 1600px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
  transition: var(--transition-smooth);
}

.logo-img:hover {
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6)) brightness(1.1);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 35px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.9rem;
}

/* MOBILE NAV TOGGLE */
.burger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1001;
}

.burger div {
  width: 25px;
  height: 2px;
  background-color: var(--primary-gold);
  margin: 5px;
  transition: var(--transition-smooth);
}

/* HERO SECTION */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  background: linear-gradient(rgba(12, 11, 10, 0.8), rgba(12, 11, 10, 0.9)), 
              url('Hero image.webp') center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

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

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary-gold);
  letter-spacing: 5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  display: block;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Background overlay patterns */
.hero-glow-orb {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* ABOUT SECTION */
#about {
  background-color: var(--bg-dark);
  position: relative;
}

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

.about-img-container {
  position: relative;
  border: 1px solid var(--border-gold);
  padding: 15px;
}

.about-img-wrapper {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-img-container:hover .about-img {
  transform: scale(1.05);
}

.about-img-container::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid var(--primary-gold);
  z-index: -1;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.about-img-container:hover::before {
  top: -5px;
  left: -5px;
  right: 5px;
  bottom: 5px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.section-hdr-sub {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--primary-gold);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-hdr-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-hdr-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  margin-top: 15px;
}

.about-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
}

.heritage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border-gold);
  padding-top: 30px;
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* GALLERY / COLLECTION SECTION */
#collection {
  background: linear-gradient(to bottom, var(--bg-dark), #12100e);
}

.collection-header {
  text-align: center;
  margin-bottom: 60px;
}

.collection-header .section-hdr-title::after {
  margin: 15px auto 0;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 30px;
  will-change: transform;
}

.carousel-track .gallery-item {
  flex: 0 0 calc((100% - 60px) / 3); /* Default: 3 items visible, 2 gaps of 30px */
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .carousel-track .gallery-item {
    flex: 0 0 calc((100% - 30px) / 2); /* 2 items visible, 1 gap of 30px */
  }
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 0 10px;
  }
  .carousel-track .gallery-item {
    flex: 0 0 100%; /* 1 item visible */
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary-gold);
  width: 25px; /* Pill effect */
  border-radius: 5px;
  border-color: var(--primary-gold);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--bg-card);
  aspect-ratio: 1/1;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid transparent;
  z-index: 2;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.gallery-item:hover::before {
  border-color: rgba(212, 175, 55, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--gold-glow);
  border-color: var(--primary-gold);
}

.gallery-item:hover img {
  transform: scale(1.08) rotate(1deg);
  filter: brightness(1.1);
}

.item-cat {
  font-size: 0.75rem;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
}

/* HERITAGE & CRAFTSMANSHIP SECTION */
#heritage {
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

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

.features-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(5px);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--gold-glow);
  transform: translateX(10px);
}

.feature-icon-wrapper {
  color: var(--primary-gold);
  font-size: 2rem;
  display: flex;
  align-items: flex-start;
  padding-top: 5px;
}

.feature-details h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--pale-gold);
}

.feature-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
}

.heritage-img-side {
  position: relative;
  border: 1px solid var(--border-gold);
  padding: 15px;
  order: 1;
}

@media (max-width: 991px) {
  .about-grid, .heritage-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .heritage-img-side {
    order: 0;
  }
}

/* CONTACT SECTION */
#contact {
  background: linear-gradient(to bottom, #12100e, var(--bg-dark));
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  transition: var(--transition-smooth);
}

.info-card:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--gold-glow);
  transform: translateY(-5px);
}

.info-card i {
  font-size: 1.5rem;
  color: var(--primary-gold);
  width: 45px;
  height: 45px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card-text h4 {
  font-size: 0.95rem;
  color: var(--pale-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.info-card-text p,
.info-card-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  word-break: break-word;
}

.info-card-text a:hover {
  color: var(--primary-gold);
}

/* LIGHTBOX MODAL */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.95);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 85%;
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), var(--gold-glow);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: -10px;
  background: transparent;
  border: none;
  color: var(--primary-gold);
  font-size: 2.2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--light-gold);
  transform: scale(1.1);
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--pale-gold);
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: var(--transition-slow);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition-slow);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* FOOTER */
footer {
  background-color: #080706;
  border-top: 1px solid var(--border-gold);
  padding: 50px 8% 30px;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  border-top: 1px solid rgba(212, 175, 55, 0.05);
  padding-top: 25px;
  line-height: 1.6;
}

@media (max-width: 576px) {
  footer {
    padding: 40px 5% 25px;
  }
  .footer-links {
    gap: 15px 25px;
    margin-bottom: 25px;
  }
  .footer-copyright {
    font-size: 0.7rem;
  }
}

/* RESPONSIVE DESIGN - TABLETS & MOBILE NAVIGATION */
@media (max-width: 991px) {
  .navbar {
    padding: 15px 5%;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 400px;
    background-color: #0c0b0ad8;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-gold);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .burger {
    display: block;
  }
  
  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .burger.toggle .line2 {
    opacity: 0;
  }
  
  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 15px;
  }
  
  .btn-gold, .btn-outline {
    text-align: center;
    width: 100%;
  }
  
  .about-img-container::before {
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
  }
  
  .contact-form-panel {
    padding: 25px;
  }
  
  .form-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .brand-name {
    font-size: 1rem;
  }
  .logo-img {
    height: 40px;
  }
}
