/* ==========================================
   AMBE GOVIND STEEL FURNITURE
   BROWN + GOLDEN YELLOW THEME
   RESPONSIVE FINAL STYLESHEET
========================================== */

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

:root {
  --page-bg: #fff9ed;
  --card-bg: #ffffff;
  --dark-brown: #482018;
  --main-brown: #713526;
  --light-brown: #f1e2d3;
  --gold: #e9b916;
  --light-gold: #fff3c4;
  --text-color: #34251f;
  --muted-text: #78665c;
  --border-color: #ead9bf;

  --call-color: #8f241c;
  --whatsapp-green: #25d366;
  --map-color: #9a6200;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--page-bg);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* ==========================================
   HEADER
========================================== */

.site-header {
  width: 100%;
  background: #fffdf8;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 5% 0;
  box-shadow: 0 3px 15px rgba(72, 32, 24, 0.08);
  position: relative;
  z-index: 10;
}

.header-inner {
  max-width: 1250px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.shop-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--light-gold);
  border: 2px solid #e8c64b;
}

.brand h1 {
  color: var(--dark-brown);
  font-size: 24px;
  line-height: 1.3;
}

.brand p {
  color: var(--muted-text);
  font-size: 13px;
  margin-top: 3px;
}

.location-label {
  display: inline-block;
  color: #966000;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

/* ==========================================
   MAIN NAVIGATION
========================================== */

.main-navigation {
  max-width: 1250px;
  margin: 15px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  border-top: 1px solid var(--border-color);
}

.main-navigation a {
  position: relative;
  display: inline-block;
  padding: 15px 0;
  color: var(--dark-brown);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.main-navigation a:hover {
  color: #a36b00;
}

.main-navigation a:hover::after {
  width: 100%;
}

/* ==========================================
   SOCIAL BUTTONS
========================================== */

.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s ease;
}

.social-button svg,
.action-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-button:hover,
.action-button:hover {
  transform: translateY(-2px);
  filter: brightness(0.94);
}

.call-button {
  background: var(--call-color);
  color: #ffffff;
}

.whatsapp-button {
  background: var(--whatsapp-green);
  color: #ffffff;
}

.instagram-button {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
  color: #ffffff;
}

.instagram-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ==========================================
   MAIN LAYOUT
========================================== */

.main-container {
  max-width: 1250px;
  margin: 28px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.section-card {
  min-width: 0;
  background: var(--card-bg);
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 17px;
  box-shadow: 0 4px 18px rgba(72, 32, 24, 0.06);
}

/* ==========================================
   HERO / OWNER
========================================== */

.hero {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;

  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(233, 185, 22, 0.20),
      transparent 35%
    ),
    linear-gradient(
      120deg,
      #ffffff,
      #fff1c9
    );

  padding: 38px;
  border: 1px solid #e8d49b;
  border-radius: 20px;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.welcome-label {
  display: inline-block;
  color: #a36b00;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 7px;
}

.hero-content h2 {
  color: var(--dark-brown);
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero-content p {
  color: var(--muted-text);
  font-size: 15px;
  max-width: 650px;
  line-height: 1.8;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.owner-image-box {
  width: 190px;
  height: 190px;
  flex: 0 0 190px;
  border-radius: 17px;
  overflow: hidden;
  background: var(--light-gold);
  border: 4px solid #ffffff;
  box-shadow: 0 4px 16px rgba(72, 32, 24, 0.16);
  cursor: zoom-in;
  position: relative;
  transition: transform 0.25s ease;
}

.owner-image-box:hover {
  transform: scale(1.04);
}

.owner-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-image-box::after {
  content: "View Photo";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px;
  color: #ffffff;
  background: rgba(72, 32, 24, 0.80);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.owner-image-box:hover::after {
  opacity: 1;
}

/* ==========================================
   EXPERIENCE HIGHLIGHT
========================================== */

.experience-highlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 9px 16px;
  background: var(--light-gold);
  border: 1px solid #e9cf70;
  border-radius: 10px;
  color: var(--dark-brown);
}

.experience-highlight strong {
  color: #a66e00;
  font-size: 25px;
  line-height: 1;
}

.experience-highlight span {
  font-size: 13px;
  font-weight: 700;
}

/* ==========================================
   SECTION HEADINGS
========================================== */

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  color: var(--dark-brown);
  font-size: 22px;
  margin-bottom: 4px;
}

.section-heading p {
  color: var(--muted-text);
  font-size: 13px;
}

/* ==========================================
   ABOUT SECTION
========================================== */

#aboutSection,
#servicesSection {
  grid-column: 1 / -1;
  width: 100%;
}

.about-section {
  background: #ffffff;
}

.about-section .section-heading h2,
.services-section .section-heading h2 {
  font-size: 27px;
  color: var(--dark-brown);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-content p {
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.9;
  text-align: justify;
}

.about-content strong {
  color: var(--dark-brown);
}

.about-highlight {
  margin-top: 23px;
  padding: 17px 20px;
  color: var(--dark-brown);
  background: var(--light-gold);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  font-size: 16px;
}

/* ==========================================
   CATEGORY GRID
========================================== */

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.category-card {
  width: 100%;
  min-width: 0;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 13px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(72, 32, 24, 0.12);
}

.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 9px;
  background: var(--light-gold);
}

.category-card h3 {
  color: var(--dark-brown);
  font-size: 15px;
  margin: 11px 3px 3px;
}

/* ==========================================
   PRODUCT CATALOG
========================================== */

#productsSection {
  grid-column: 1 / -1;
  width: 100%;
}

#products.product-grid {
  display: block !important;
  width: 100%;
  min-width: 0;
}

#products > .catalog-category {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 32px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
}

#products > .catalog-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.catalog-category-heading {
  color: var(--dark-brown);
  font-size: 23px;
  padding: 0;
  margin: 0 0 22px;
  background: transparent;
  border: none;
}

#products .catalog-category > .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  gap: 18px;
}

/* ==========================================
   PRODUCT CARD
========================================== */

.product-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(72, 32, 24, 0.07);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(72, 32, 24, 0.13);
}

.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #fffaf0;
  cursor: zoom-in;
}

.product-card h3 {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--dark-brown);
  background: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 8px;
  margin: 0;
  border-top: 1px solid var(--border-color);
}

.product-description {
  color: var(--muted-text);
  font-size: 13px;
  line-height: 1.5;
  padding: 0 12px 12px;
  text-align: center;
}

/* ==========================================
   ACTION BUTTONS
========================================== */

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.map-button {
  background: var(--map-color);
  color: #ffffff;
}

/* ==========================================
   EMPTY MESSAGE
========================================== */

.empty-message {
  grid-column: 1 / -1;
  padding: 22px;
  background: var(--light-gold);
  border-radius: 12px;
  color: var(--dark-brown);
  font-size: 14px;
  text-align: center;
}

/* ==========================================
   SERVICES
========================================== */

.services-section {
  background: linear-gradient(140deg, #ffffff, #fff9e9);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.service-card {
  min-width: 0;
  padding: 22px;
  background: #fffdf8;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(72, 32, 24, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 7px 18px rgba(72, 32, 24, 0.10);
  border-color: #e5c76d;
}

.service-card h3 {
  color: var(--dark-brown);
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted-text);
  font-size: 14px;
  line-height: 1.8;
}

.services-note {
  margin-top: 22px;
  padding: 15px;
  text-align: center;
  color: var(--dark-brown);
  background: var(--light-gold);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
}

/* ==========================================
   LOCATION
========================================== */

.location-details {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 15px 0;
}

.location-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gold);
  border-radius: 10px;
}

.location-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--map-color);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-details p {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.7;
}

/* ==========================================
   CONTACT
========================================== */

.contact-details {
  background: #fff9e9;
  border: 1px solid #f0dfb0;
  border-radius: 12px;
  padding: 15px;
}

.contact-details p {
  color: var(--text-color);
  font-size: 14px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.contact-details strong {
  color: var(--dark-brown);
}

.contact-details a {
  color: #966000;
  font-weight: 700;
}

/* ==========================================
   FOOTER
========================================== */

.site-footer {
  background: var(--dark-brown);
  color: #ffffff;
  text-align: center;
  padding: 28px 15px;
  margin-top: 35px;
  border-top: 5px solid var(--gold);
}

.site-footer h3 {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 6px;
}

.site-footer p {
  font-size: 13px;
  color: #f3e2d4;
  margin-top: 5px;
}

.site-footer .copyright {
  margin-top: 17px;
  font-size: 12px;
  color: #e5cdbb;
}

.site-footer .powered-by {
  font-size: 11px;
  color: #d7bba6;
}

/* ==========================================
   FULL SCREEN PHOTO VIEWER
========================================== */

.photo-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(24, 10, 7, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px;
}

.photo-viewer-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.photo-close,
.photo-previous,
.photo-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
}

.photo-close {
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  font-size: 30px;
}

.photo-previous,
.photo-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 32px;
}

.photo-previous {
  left: 12px;
}

.photo-next {
  right: 12px;
}

.photo-counter {
  position: absolute;
  bottom: 18px;
  color: #ffffff;
  font-size: 13px;
}

/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 900px) {

  .site-header {
    padding: 15px 3% 0;
  }

  .brand h1 {
    font-size: 21px;
  }

  .main-container {
    gap: 15px;
    padding: 0 14px;
  }

  .section-card {
    padding: 19px;
  }

  .hero {
    padding: 28px;
  }

  .owner-image-box {
    width: 155px;
    height: 155px;
    flex-basis: 155px;
  }

  #products .catalog-category > .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

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

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 650px) {

  .site-header {
    padding: 13px 13px 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }

  .brand {
    gap: 11px;
  }

  .shop-logo {
    width: 62px;
    height: 62px;
  }

  .brand h1 {
    font-size: 19px;
  }

  .brand p {
    font-size: 11px;
  }

  .header-social {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .social-button {
    padding: 10px 5px;
    font-size: 11px;
    gap: 5px;
  }

  .social-button svg {
    width: 15px;
    height: 15px;
  }

  .main-navigation {
    margin-top: 12px;
    padding: 0 8px;
    justify-content: space-around;
    gap: 5px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .main-navigation a {
    padding: 13px 5px;
    font-size: 12px;
  }

  .main-navigation a::after {
    bottom: 5px;
  }

  .main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 12px;
    margin: 17px auto;
    gap: 14px;
  }

  .section-card {
    width: 100%;
    padding: 17px;
    border-radius: 14px;
  }

  .hero {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 22px 19px;
    gap: 18px;
  }

  .owner-image-box {
    width: 130px;
    height: 130px;
    flex-basis: 130px;
    align-self: center;
  }

  .owner-image-box::after {
    opacity: 1;
    font-size: 11px;
    padding: 6px;
  }

  .hero-content h2 {
    font-size: 27px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .about-section .section-heading h2,
  .services-section .section-heading h2 {
    font-size: 23px;
  }

  .about-content {
    gap: 13px;
  }

  .about-content p {
    font-size: 14px;
    line-height: 1.85;
    text-align: left;
  }

  .about-highlight {
    font-size: 14px;
    padding: 14px;
  }

  /* PRODUCT CATALOG MOBILE */

  #productsSection {
    width: 100%;
    padding: 17px;
  }

  #products .catalog-category {
    margin-bottom: 27px;
    padding-bottom: 20px;
  }

  .catalog-category-heading {
    font-size: 21px;
    margin-bottom: 20px;
  }

  #products .catalog-category > .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .product-card {
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 13px;
  }

  .product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
  }

  .product-card h3 {
    min-height: 45px;
    font-size: 14px;
    padding: 10px 5px;
  }

  .product-description {
    font-size: 12px;
    padding: 0 8px 10px;
  }

  /* SERVICES */

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .service-card {
    padding: 15px 12px;
    border-radius: 12px;
  }

  .service-card h3 {
    font-size: 14px;
  }

  .service-card p {
    font-size: 12px;
    line-height: 1.7;
  }

  .services-note {
    font-size: 13px;
  }

  .action-button {
    padding: 10px 13px;
    font-size: 12px;
  }

  .photo-overlay {
    padding: 55px 42px;
  }

  .photo-viewer-image {
    max-height: 78vh;
  }

  .photo-previous,
  .photo-next {
    width: 34px;
    height: 34px;
    font-size: 25px;
  }

  .photo-previous {
    left: 4px;
  }

  .photo-next {
    right: 4px;
  }

  .site-footer {
    margin-top: 22px;
    padding: 24px 12px;
  }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 360px) {

  .brand h1 {
    font-size: 17px;
  }

  .social-button {
    font-size: 10px;
  }

  .section-card {
    padding: 13px;
  }

  .hero-content h2 {
    font-size: 23px;
  }

  #productsSection {
    padding: 13px;
  }

  #products .catalog-category > .product-grid {
    gap: 9px;
  }

  .product-card h3 {
    font-size: 13px;
  }

  .services-grid {
    gap: 9px;
  }

  .service-card {
    padding: 12px 9px;
  }

  .service-card h3 {
    font-size: 13px;
  }
}
