/* ============================================================
   ALHAMD MARBLES & TEXTILES — style.css
   Aesthetic: Luxury Refined | Marble Gold & Deep Charcoal
   ============================================================ */

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

:root {
  --cream:    #F6F0E8;
  --beige:    #E8DDD0;
  --gold:     #C9A84C;
  --gold-lt:  #E4C97A;
  --charcoal: #1C1C1C;
  --dark:     #111111;
  --mid:      #4A4A4A;
  --light:    #8A8A8A;
  --white:    #FFFFFF;

  /* Marble patterns (CSS gradients) */
  --marble1: linear-gradient(135deg, #f5f0eb 0%, #e8ddd0 30%, #f0ebe3 60%, #ddd4c8 100%);
  --marble2: linear-gradient(120deg, #3d2b1f 0%, #5c3d2e 40%, #7a5240 70%, #4a3025 100%);
  --marble3: linear-gradient(150deg, #d8d0c8 0%, #c8c0b8 40%, #e0d8d0 70%, #b8b0a8 100%);
  --marble4: linear-gradient(100deg, #f5f0e8 0%, #fff8f0 50%, #e8e0d0 100%);
  --marble5: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --granite1: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 30%, #1f1f1f 60%, #333 100%);
  --granite2: linear-gradient(120deg, #e8e0d8 0%, #d8d0c0 40%, #f0e8d8 70%, #c8c0b0 100%);
  --tile1: linear-gradient(135deg, #b8c8d8 0%, #a0b8c8 50%, #90a8b8 100%);
  --tile2: linear-gradient(135deg, #f0e8d8 0%, #e0d8c8 50%, #d0c8b8 100%);
  --textile1: linear-gradient(135deg, #8b5e3c 0%, #a0714d 50%, #7a5235 100%);
  --textile2: linear-gradient(135deg, #4a3728 0%, #6b5040 50%, #3d2e22 100%);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;
  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 100px 0; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(18, 14, 10, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 4rem;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.brand-icon {
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-main {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}

.brand-sub {
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.nav-link {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    linear-gradient(135deg, #0e0b08 0%, #1a1410 40%, #2a2018 70%, #1a1410 100%);
  z-index: 0;
}

.marble-overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0px, transparent 40px,
      rgba(201,168,76,0.03) 40px, rgba(201,168,76,0.03) 41px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px, transparent 60px,
      rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px
    );
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem;
  max-width: 760px;
  margin-top: 80px;
}

.hero-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

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

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ---- STATS STRIP ---- */
.stats-strip {
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2.5rem 4rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 3rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.4rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
}

/* ---- SECTION COMMON ---- */
.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

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

.section-sub {
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ---- ABOUT ---- */
.about { background: var(--white); }

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

.about-img-stack {
  position: relative;
  height: 500px;
}

.img-card {
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.card-1 {
  width: 70%;
  height: 70%;
  top: 0; left: 0;
  z-index: 1;
}

.card-2 {
  width: 65%;
  height: 60%;
  bottom: 0; right: 0;
  z-index: 2;
  border: 4px solid var(--white);
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
}

.img-placeholder i { font-size: 2.5rem; opacity: 0.7; }
.img-placeholder span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.about-badge {
  position: absolute;
  bottom: 25%;
  left: 55%;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--gold);
  color: var(--dark);
  padding: 1.2rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.badge-txt {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.4;
}

.about-content { padding: 1rem 0; }

.about-text {
  color: var(--mid);
  margin-bottom: 1rem;
  font-weight: 300;
  line-height: 1.85;
}

.about-features {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.about-features li i {
  color: var(--gold);
  font-size: 0.85rem;
}

/* ---- PRODUCTS ---- */
.products { background: var(--cream); }

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--beige);
  color: var(--mid);
  cursor: pointer;
  border-radius: 100px;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card.hidden { display: none; }

/* ---- PRODUCT IMAGE WRAPPER ---- */
.product-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: var(--beige);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.zoom-hint {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .zoom-hint { opacity: 1; }

.product-info { padding: 1.4rem; }

.product-tag {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0.3rem 0 0.5rem;
  color: var(--charcoal);
}

.product-info p {
  font-size: 0.83rem;
  color: var(--light);
  line-height: 1.7;
  font-weight: 300;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--beige);
}

.price {
  font-size: 0.72rem;
  color: var(--light);
  font-style: italic;
}

.btn-quote {
  padding: 0.45rem 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-quote:hover { background: var(--gold); color: var(--dark); }

/* ---- WHY US ---- */
.why-us { background: var(--charcoal); }
.why-us .section-tag { color: var(--gold); }
.why-us .section-title { color: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.4rem;
  color: var(--gold);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.why-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  line-height: 1.8;
}

/* ---- GALLERY ---- */
.gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gal-large { grid-row: span 2; }
.gal-wide  { grid-column: span 2; }

.gallery-item:hover img { transform: scale(1.07); }

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: var(--transition);
}

.gal-overlay span {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.gallery-item:hover .gal-overlay { opacity: 1; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--cream); overflow: hidden; }

.testimonials-slider { position: relative; overflow: hidden; margin: 0 -1rem; }

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0;
}

.testimonial-card {
  min-width: calc(100% / 3);
  padding: 0 1rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .testimonial-card { min-width: 100%; }
}

.testimonial-card > * {
  background: var(--white);
  border-radius: 6px;
  padding: 2.5rem;
  display: block;
}

.testimonial-card { padding: 0 1rem 0.5rem; }

.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; display: block; }

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.85;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
  color: var(--charcoal);
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--light);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--beige);
  background: var(--white);
  cursor: pointer;
  color: var(--charcoal);
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

.slider-dots { display: flex; gap: 0.5rem; }

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beige);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active { background: var(--gold); transform: scale(1.3); }

/* ---- CONTACT ---- */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info { padding-top: 0.5rem; }

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.info-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.info-item p, .info-item a {
  font-size: 0.9rem;
  color: var(--mid);
  font-weight: 300;
  text-decoration: none;
}

.info-item a:hover { color: var(--gold); }

.social-links { display: flex; gap: 0.75rem; margin-top: 2rem; }

.social-link {
  width: 42px;
  height: 42px;
  border: 1px solid var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-link:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: var(--transition);
  resize: vertical;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--light); }

.form-success {
  display: none;
  background: #f0faf0;
  border: 1px solid #b8e8b8;
  color: #2a7a2a;
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  text-align: center;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.form-note {
  font-size: 0.75rem;
  color: var(--light);
  text-align: center;
  font-style: italic;
  margin-top: -0.5rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand .brand-icon { font-size: 2rem; color: var(--gold); }
.footer-brand .brand-main { color: var(--white); font-size: 1.3rem; }
.footer-brand .brand-sub { color: var(--gold); }

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.5rem;
  font-style: italic;
  font-family: var(--font-display);
}

.footer-links h4, .footer-contact h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  font-weight: 300;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  font-weight: 300;
  margin-bottom: 0.6rem;
}

.footer-contact i { color: var(--gold); margin-top: 3px; width: 14px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-social { display: flex; gap: 0.6rem; }

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(201,168,76,0.4);
}

.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); background: var(--gold-lt); }

/* ---- MARBLE BACKGROUNDS ---- */
.marble-bg-1 { background: var(--marble1); }
.marble-bg-2 { background: var(--marble2); }
.marble-bg-3 { background: var(--marble3); }
.marble-bg-4 { background: var(--marble4); }
.marble-bg-5 { background: var(--marble5); }
.granite-bg-1 { background: var(--granite1); }
.granite-bg-2 { background: var(--granite2); }
.tile-bg-1    { background: var(--tile1); }
.tile-bg-2    { background: var(--tile2); }
.textile-bg-1 { background: var(--textile1); }
.textile-bg-2 { background: var(--textile2); }

/* ---- SCROLL ANIMATIONS ---- */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* ---- RESPONSIVE ---- */

/* Tablet landscape */
@media (max-width: 1024px) {
  .navbar { padding: 1.2rem 2rem; }
  .navbar.scrolled { padding: 0.9rem 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-stack { height: 350px; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .catalogue-cta-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(17,17,17,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.4s ease;
    z-index: 1001;
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 0.9rem; }
  .hamburger { display: flex; z-index: 1002; }

  /* Hero */
  .hero-content { padding: 0 1.5rem; margin-top: 60px; }
  .hero-scroll-indicator { display: none; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-btns .btn { width: 100%; text-align: center; justify-content: center; }

  /* Stats */
  .stats-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem 1rem;
    gap: 0;
  }
  .stat-divider { display: none; }
  .stat-item { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); }

  /* About */
  .about-img-stack { height: 300px; }
  .card-1 { width: 65%; height: 65%; }
  .card-2 { width: 60%; height: 58%; }
  .about-badge { left: 50%; }

  /* Products */
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .filter-tabs { gap: 0.4rem; }
  .filter-btn { padding: 0.45rem 1rem; font-size: 0.68rem; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }
  .gal-large { grid-column: span 2; grid-row: span 1; }
  .gal-wide  { grid-column: span 2; grid-row: span 1; }

  /* Testimonials */
  .testimonial-card { min-width: 100%; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-info { padding-bottom: 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer { padding: 3rem 0 2rem; }

  /* Fix back-to-top + whatsapp overlap */
  .back-to-top { bottom: 7rem; right: 1.5rem; }
  .whatsapp-float { bottom: 1.5rem; right: 1.5rem; }

  /* Catalogue CTA */
  .catalogue-cta-inner { flex-direction: column; }
  .catalogue-cta-inner .btn { width: 100%; justify-content: center; }

  /* Section spacing */
  .section { padding: 70px 0; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .container { padding: 0 1.25rem; }
}

/* Mobile */
@media (max-width: 480px) {
  /* Nav */
  .navbar { padding: 1rem 1.25rem; }
  .navbar.scrolled { padding: 0.8rem 1.25rem; }
  .brand-main { font-size: 1.15rem; }

  /* Hero */
  .hero-title { font-size: clamp(2.8rem, 11vw, 3.8rem); }
  .hero-desc { font-size: 0.9rem; }
  .hero-content { padding: 0 1.25rem; }

  /* Stats — single column on very small screens */
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2.2rem; }

  /* About image stack — simpler on tiny screens */
  .about-img-stack { height: 260px; }
  .about-badge { display: none; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }
  .product-img-wrap { height: 220px; }

  /* Gallery — single column */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item { height: 220px; }
  .gal-large, .gal-wide { grid-column: span 1; grid-row: span 1; }

  /* Why cards */
  .why-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonial-inner { padding: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links, .footer-contact { margin-top: 0; }

  /* Floating buttons — bigger tap targets */
  .back-to-top { width: 42px; height: 42px; bottom: 7.5rem; right: 1rem; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 1rem; right: 1rem; font-size: 1.4rem; }

  /* Section */
  .section { padding: 55px 0; }
  .container { padding: 0 1rem; }
}

/* Very small phones (SE, Galaxy Fold) */
@media (max-width: 360px) {
  .hero-title { font-size: 2.4rem; }
  .filter-btn { padding: 0.4rem 0.8rem; font-size: 0.64rem; }
  .stat-num { font-size: 1.8rem; }
  .products-grid { grid-template-columns: 1fr; }
}

/* Testimonials inner styles fix */
.testimonial-card {
  padding: 0 0.75rem;
}
.testimonial-card > div,
.testimonial-card > .stars,
.testimonial-card > p,
.testimonial-card > .testimonial-author {
  display: block;
}

.testimonial-inner {
  background: var(--white);
  border-radius: 6px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 88vw;
  max-height: 88vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  display: block;
  margin: 0 auto;
}

#lightboxCaption {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1rem;
  font-family: var(--font-body);
}

.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-close:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ---- CATALOGUE CTA ---- */
.catalogue-cta {
  margin-top: 3rem;
}

.catalogue-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--charcoal);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
}

.catalogue-cta-text {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.catalogue-cta-text i {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.catalogue-cta-text strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.catalogue-cta-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

/* ---- FLOATING WHATSAPP BUTTON ---- */
.whatsapp-float {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  z-index: 998;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}

.wa-tooltip {
  position: absolute;
  right: 62px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.72rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ---- GOOGLE MAP ---- */
.map-wrap {
  margin-top: 3.5rem;
}

.map-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

.map-label i { font-size: 0.85rem; }

/* ---- PAGE LOADER ---- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: loaderFadeIn 0.5s ease both;
}

.loader-diamond {
  font-size: 2.8rem;
  color: var(--gold);
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.loader-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.1em;
}

.loader-sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 500;
}

.loader-bar {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
  animation: loaderFadeIn 0.5s ease 0.2s both;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  animation: loaderSweep 1.2s ease-in-out infinite;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

@keyframes loaderSweep {
  0%   { transform: translateX(-120px); }
  100% { transform: translateX(120px); }
}

/* ---- HERO ENTRANCE ANIMATION ---- */
.hero-content .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-content .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero-content .reveal:nth-child(2) { transition-delay: 0.25s; }
.hero-content .reveal:nth-child(3) { transition-delay: 0.4s; }
.hero-content .reveal:nth-child(4) { transition-delay: 0.55s; }

/* ---- MOBILE NAV OVERLAY ---- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.nav-overlay.show { display: block; }

/* ---- TOUCH DEVICE: disable hover transforms ---- */
@media (hover: none) {
  .product-card:hover { transform: none; }
  .why-card:hover     { transform: none; }
  .btn-primary:hover  { transform: none; }
  .btn-outline:hover  { transform: none; }
  .back-to-top:hover  { transform: none; }
  .whatsapp-float:hover { transform: none; }
  /* Keep overlay visible on tap for gallery */
  .gal-overlay        { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%); }
}

/* ---- SAFE AREA (iPhone notch / home bar) ---- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .back-to-top   { bottom: calc(7rem + env(safe-area-inset-bottom)); }
  .whatsapp-float { bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
  @media (max-width: 480px) {
    .back-to-top    { bottom: calc(7.5rem + env(safe-area-inset-bottom)); }
    .whatsapp-float { bottom: calc(1rem + env(safe-area-inset-bottom)); }
  }
}

/* ---- PREVENT OVERFLOW ON ALL SCREENS ---- */
img, iframe, video { max-width: 100%; }
.container { overflow-x: clip; }

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}
