/* style.css */
:root {
  --color-bg: #030303;
  --color-surface: #0a0a0a;
  --color-surface-light: #151515;
  --color-gold: #D4AF37;
  /* Richer, classic gold */
  --color-gold-muted: #AA8C2C;
  --color-gold-light: #F3E5AB;
  --color-text-main: #EAEAEA;
  --color-text-muted: #888888;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;

  --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
.logo {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
}

em {
  font-style: italic;
  color: var(--color-gold);
}

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

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.text-center {
  text-align: center;
}

/* Typography & Utils */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-gold-muted);
  margin-bottom: 1rem;
}

.bengali-name {
  font-size: 1.2rem;
  color: var(--color-gold-muted);
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover {
  color: var(--color-bg);
}

.btn-primary:hover::before {
  transform: scaleY(1);
}

.divider {
  height: 1px;
  width: 60px;
  background-color: var(--color-gold);
  margin: 3rem auto;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

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

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  background: transparent;
  padding: 2rem 0;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(3, 3, 3, 0.95);
  backdrop-filter: blur(15px);
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  color: var(--color-text-main);
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 3rem;
}

.nav-links li a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-main);
  position: relative;
}

.nav-links li a:hover {
  color: var(--color-gold);
}

/* Hero */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
  /* initial scale for subtle movement if animated later */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(3, 3, 3, 0.9) 100%);
  background-color: rgba(3, 3, 3, 0.5);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  margin-top: 5rem;
}

.hero-content .subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 5rem;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 2rem;
}

.hero-content .hero-desc {
  font-size: 1.2rem;
  color: var(--color-text-main);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Heritage Section */
.heritage-section {
  padding: 10rem 0;
  background-color: var(--color-bg);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

.heritage-text h2 {
  font-size: 3.5rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.heritage-text p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.heritage-inline-img {
  display: none;
  /* hidden on desktop, used for mobile layout */
}

.heritage-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.heritage-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 2px;
  filter: brightness(0.85) contrast(1.1);
}

/* Culture Callout */
.culture-section {
  padding: 12rem 0;
  background-image: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), url('images/culture_bg.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.culture-section h2 {
  font-size: 2.5rem;
  color: var(--color-gold-light);
  font-style: italic;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Editorial Collections Section */
.collections-section {
  padding: 10rem 0;
  background-color: var(--color-bg);
}

.section-header {
  margin-bottom: 6rem;
}

.section-header h2 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.collections-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.editorial-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10rem;
  gap: 6rem;
}

.editorial-row.reverse {
  flex-direction: row-reverse;
}

.edit-img {
  flex: 0 0 48%;
  position: relative;
}

.edit-img::after {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-gold-muted);
  z-index: -1;
  transition: var(--transition);
}

.editorial-row.reverse .edit-img::after {
  left: 20px;
}

.edit-img:hover::after {
  transform: translate(10px, -10px);
}

.editorial-row.reverse .edit-img:hover::after {
  transform: translate(-10px, -10px);
}

.edit-img .img-square-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Forces perfect 1:1 square */
  overflow: hidden;
  background: #0d0d0d; /* Subtle dark fill so centered images look clean */
}

.edit-img .img-square-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(0.9);
  transition: var(--transition);
}

.edit-img img {
  /* Fallback for images not inside img-square-wrap */
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0.9);
  transition: var(--transition);
}

.edit-img:hover img {
  filter: brightness(1);
}

/* Sankha/Pola grid no longer needed — single image used */

.edit-text {
  flex: 1;
  padding: 0 2rem;
}

.edit-text h3 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.edit-text p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Services */
.services-section {
  padding: 8rem 0;
  background-color: var(--color-surface);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.service-box {
  padding: 4rem 3rem;
  background: var(--color-surface-light);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition);
  position: relative;
}

.service-box:hover {
  background: var(--color-bg);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.15);
  position: absolute;
  top: 1rem;
  right: 2rem;
}

.service-box h4 {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-box p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
  background-color: var(--color-bg);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-form-container {
  background: var(--color-surface);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: var(--color-surface-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-main);
  font-family: var(--font-body);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  border: none;
}

.direct-contact {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
}

.btn-whatsapp,
.btn-call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

.btn-call:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
}

/* Reach Section */
.reach-section {
  padding: 10rem 0;
  background-color: var(--color-bg);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  text-align: center;
}

.reach-section h2 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.reach-section p {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  max-width: 900px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.trust-badge h3 {
  font-style: italic;
  font-size: 2rem;
  color: var(--color-gold-light);
  letter-spacing: 1px;
}

.contact-maps-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.map-box {
  background: var(--color-surface-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
}

.map-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.contact-maps-container iframe {
  filter: grayscale(1) invert(0.9);
  transition: var(--transition);
}

.contact-maps-container iframe:hover {
  filter: grayscale(0) invert(0);
}

/* Footer */
.footer {
  background: #020202;
  padding: 6rem 0 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-brand h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--color-gold-muted);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
}

.footer-details {
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-col p {
  color: var(--color-text-muted);
  line-height: 2;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #555;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile & Tablet */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  width: 30px;
  height: 1px;
  background: #fff;
  transition: var(--transition);
}

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 4rem;
  }

  .heritage-grid {
    gap: 3rem;
  }

  .editorial-row,
  .editorial-row.reverse {
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .edit-img img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links li a {
    font-size: 1.5rem;
  }

  .heritage-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .heritage-image {
    display: none;
  }

  .heritage-inline-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-top: 3rem;
    border-radius: 2px;
  }

  .editorial-row,
  .editorial-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    margin-bottom: 6rem;
  }

  .edit-img::after {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .direct-contact {
    flex-direction: column;
  }

  .footer-details {
    flex-direction: column;
    gap: 3rem;
  }
}