/* ==========================================================================
   home.css — Classical Stone Veneer
   Shared stylesheet for index.html and products.html
   Author: Classical Stone Veneer | classicalstoneveneer.com
   ========================================================================== */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --gold:         #a08641;
  --gold-light:   #c9a84c;
  --dark:         #1a1a1a;
  --stone:        #f5f2ed;
  --charcoal:     #2d2d2d;
  --text-body:    #444444;
  --text-muted:   #777777;
  --white:        #ffffff;
  --black:        #111111;
  --border-light: #e5e0d8;
  --transition:   all 0.3s ease;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 30px rgba(0,0,0,0.14);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(28px, 4vw, 50px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); }
h3 { font-size: clamp(18px, 2.5vw, 26px); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  transition: var(--transition);
}

/* ── UTILITY ── */
.section-pad     { padding: 80px 0; }
.section-pad-sm  { padding: 50px 0; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--charcoal);
  color: #ccc;
  font-size: 12px;
  padding: 7px 0;
  line-height: 1.4;
}

.top-bar a {
  color: #ccc;
  text-decoration: none;
}

.top-bar a:hover {
  color: var(--gold-light);
}

.top-bar .top-social a {
  margin-left: 10px;
  font-size: 13px;
  color: #ccc;
  text-decoration: none;
}

.top-bar .top-social a:hover {
  color: var(--gold-light);
}

/* ── NAVBAR ── */
.navbar-main {
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.navbar-main.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.navbar-main .nav-link {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--dark) !important;
  text-transform: uppercase;
  padding: 8px 14px !important;
  transition: color 0.2s ease;
  position: relative;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--gold) !important;
}

.navbar-main .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  border-radius: 0;
  min-width: 210px;
  padding: 8px 0;
}

.navbar-main .dropdown-item {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  padding: 9px 18px;
  color: var(--dark);
  transition: var(--transition);
}

.navbar-main .dropdown-item:hover,
.navbar-main .dropdown-item:focus {
  background: var(--gold);
  color: var(--white);
}

.btn-quote {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 2px;
  padding: 8px 18px !important;
  border: 2px solid var(--gold) !important;
}

.btn-quote:hover {
  background: var(--dark) !important;
  border-color: var(--dark) !important;
  color: var(--white) !important;
}

/* ── SHARED BUTTON STYLES ── */
.btn-stone {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 12px 30px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: var(--transition);
  cursor: pointer;
}

.btn-stone:hover {
  background: transparent;
  color: var(--gold);
}

.btn-stone-outline {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 11px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-stone-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ── SECTION TITLES ── */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .tag {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title h2 {
  color: var(--dark);
}

.section-title p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 10px auto 0;
}

.divider-gold {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
}

/* ── SWIPER SHARED OVERRIDES ── */
.swiper-button-next,
.swiper-button-prev {
  color: var(--white) !important;
  background: rgba(0,0,0,0.42);
  width: 44px !important;
  height: 44px !important;
  border-radius: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: 700;
}

.swiper-pagination-bullet {
  background: var(--white);
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--gold);
}

/* ── HERO CAROUSEL ── */
.hero-swiper {
  height: 480px;
  overflow: hidden;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero-swiper .slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-swiper .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.68) 45%, rgba(0,0,0,0.08));
  display: flex;
  align-items: center;
}

.hero-swiper .slide-content {
  color: var(--white);
  max-width: 560px;
  padding: 0 60px;
}

.hero-swiper .slide-content .badge-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.hero-swiper .slide-content h1 {
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--white);
}

.hero-swiper .slide-content p {
  font-size: 15px;
  opacity: 0.88;
  margin-bottom: 24px;
  color: var(--white);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--dark);
  padding: 22px 0;
}

.stats-bar .stat {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stats-bar .stat:last-child {
  border-right: none;
}

.stats-bar .stat h3 {
  font-family: 'Jost', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-light);
  margin: 0;
  line-height: 1.2;
}

.stats-bar .stat p {
  font-size: 11px;
  color: #aaa;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 4px 0 0;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 80px 0;
  background: var(--white);
}

.about-text h2 {
  margin-bottom: 6px;
}

.about-text p {
  color: #555;
  line-height: 1.85;
  margin-bottom: 14px;
}

.about-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--stone);
  padding: 13px 22px;
  border-left: 4px solid var(--gold);
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.about-badge i {
  color: var(--gold);
  font-size: 22px;
  flex-shrink: 0;
}

/* ── WHY CHOOSE US ── */
.why-section {
  padding: 80px 0;
  background: var(--stone);
}

.why-card {
  background: var(--white);
  padding: 30px 24px;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  height: 100%;
}

.why-card:hover {
  border-bottom-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-card .icon {
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1;
}

.why-card h5 {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--dark);
}

.why-card p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ── PRODUCTS CAROUSEL SECTION ── */
.products-section {
  padding: 80px 0;
  background: var(--white);
}

.product-swiper {
  padding: 10px 0 44px !important;
}

.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
  color: var(--gold) !important;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-sm);
}

.product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

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

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

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.84), transparent);
  padding: 36px 20px 20px;
  color: var(--white);
  transform: translateY(28px);
  transition: transform 0.32s ease;
}

.product-card:hover .product-overlay {
  transform: translateY(0);
}

.product-overlay h5 {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--white);
}

.product-overlay p {
  font-size: 12.5px;
  opacity: 0.82;
  margin: 0;
  color: var(--white);
}

.product-overlay .arrow {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
}

.product-overlay .arrow:hover {
  color: var(--white);
}

/* ── BENEFITS SECTION ── */
.benefits-section {
  padding: 80px 0;
  background: var(--dark);
}

.benefits-section .section-title h2 {
  color: var(--white);
}

.benefits-section .section-title .tag {
  color: var(--gold-light);
}

.benefits-section .section-title p {
  color: #999;
}

.benefits-section .divider-gold {
  background: var(--gold-light);
}

.benefit-item {
  text-align: center;
  padding: 20px 10px;
}

.benefit-item .icon-wrap {
  width: 68px;
  height: 68px;
  border: 2px solid rgba(160,134,65,0.38);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  background: rgba(160,134,65,0.07);
  transition: var(--transition);
}

.benefit-item:hover .icon-wrap {
  background: var(--gold);
  border-color: var(--gold);
}

.benefit-item .icon-wrap i {
  font-size: 22px;
  color: var(--gold-light);
  transition: color 0.3s ease;
}

.benefit-item:hover .icon-wrap i {
  color: var(--white);
}

.benefit-item h6 {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ccc;
  margin: 0;
}

/* ── APPLICATIONS SECTION ── */
.applications-section {
  padding: 80px 0;
  background: var(--white);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.app-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.app-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

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

.app-item:hover img {
  transform: scale(1.06);
}

.app-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.76), transparent);
  padding: 26px 16px 14px;
  color: var(--white);
}

.app-label h6 {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  color: var(--white);
}

/* ── ON-TREND SECTION ── */
.ontrend-section {
  padding: 80px 0;
  background: var(--stone);
}

.trend-swiper {
  padding: 10px 0 48px !important;
}

.trend-card {
  background: var(--white);
  overflow: hidden;
}

.trend-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.trend-card:hover img {
  transform: scale(1.05);
}

.trend-info {
  padding: 18px 20px;
}

.trend-info h5 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--dark);
}

.trend-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.trend-info a {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
}

.trend-info a:hover {
  color: var(--dark);
}

/* ── VIDEO WRAP ── */
.video-wrap {
  background: var(--black);
  line-height: 0;
}

.video-wrap iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark) 0%, #3a2a0a 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/about_client.jpg') center / cover no-repeat;
  opacity: 0.10;
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(24px, 4vw, 42px);
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  max-width: 560px;
  margin: 12px auto 28px;
}

.cta-section .btn-stone-outline {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.45);
}

.cta-section .btn-stone-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ── PAGE HERO (products.html) ── */
.page-hero {
  background:
    linear-gradient(to right, rgba(0,0,0,0.78) 50%, rgba(0,0,0,0.28)),
    url('images/about_client.jpg') center / cover no-repeat;
  padding: 90px 0 70px;
  color: var(--white);
}

.page-hero .page-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 5px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 15px;
  opacity: 0.85;
  max-width: 540px;
  color: var(--white);
}

.breadcrumb-custom {
  margin-bottom: 14px;
}

.breadcrumb-custom a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 13px;
}

.breadcrumb-custom a:hover {
  color: var(--white);
}

.breadcrumb-custom span {
  color: #aaa;
  font-size: 13px;
}

/* ── FILTER BAR (products.html) ── */
.filter-bar {
  background: var(--stone);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 76px;
  z-index: 100;
}

.filter-btn {
  display: inline-block;
  padding: 7px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid #ccc;
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

/* ── PRODUCT DETAIL SECTIONS (products.html) ── */
.prod-section {
  padding: 80px 0;
}

.prod-section:nth-child(odd)  { background: var(--white); }
.prod-section:nth-child(even) { background: var(--stone); }

.prod-img-wrap {
  position: relative;
  overflow: hidden;
}

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

.prod-img-wrap:hover img {
  transform: scale(1.04);
}

.prod-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  font-weight: 600;
}

.prod-content h2 {
  margin-bottom: 6px;
}

.prod-content p {
  color: #555;
  line-height: 1.85;
  margin-bottom: 14px;
  font-size: 15px;
}

.prod-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.prod-features li {
  padding: 7px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.prod-features li i {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.prod-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.size-badge {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  padding: 5px 12px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
}

.section-title-left .tag-sm {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ── SIZES TABLE (products.html) ── */
.sizes-section {
  padding: 60px 0;
  background: var(--stone);
}

.size-table {
  width: 100%;
  border-collapse: collapse;
}

.size-table th {
  background: var(--dark);
  color: var(--white);
  padding: 14px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: left;
}

.size-table td {
  padding: 12px 20px;
  border-bottom: 1px solid #e0dbd0;
  font-size: 14px;
  color: var(--text-body);
}

.size-table tr:nth-child(even) td {
  background: #eeebe4;
}

.size-table tr:hover td {
  background: #e5e0d6;
}

.size-table-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: #aaa;
  padding: 64px 0 0;
}

footer h5 {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

footer p {
  font-size: 13.5px;
  line-height: 1.9;
  color: #aaa;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  font-size: 13.5px;
  line-height: 1;
  padding: 5px 0;
}

footer ul li::before {
  content: '›  ';
  color: var(--gold);
}

footer ul li a {
  color: #999;
  text-decoration: none;
}

footer ul li a:hover {
  color: var(--gold-light);
}

footer a {
  color: #999;
  text-decoration: none;
}

footer a:hover {
  color: var(--gold-light);
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  color: #aaa;
  font-size: 13px;
  transition: var(--transition);
}

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

.footer-address i {
  color: var(--gold);
  width: 18px;
  flex-shrink: 0;
  margin-right: 8px;
}

.footer-map {
  width: 100%;
  height: 120px;
  border: 0;
  margin-top: 14px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 16px 0;
  margin-top: 48px;
  text-align: center;
  font-size: 12.5px;
  color: #555;
}

/* ── RESPONSIVE ── */
@media (max-width: 991.98px) {
  .filter-bar {
    top: 0;
    position: relative;
  }

  .filter-bar .d-flex {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    padding-bottom: 4px;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-swiper {
    height: 340px;
  }

  .hero-swiper .slide-content {
    padding: 0 24px;
  }

  .hero-swiper .slide-content h1 {
    font-size: 22px;
  }

  .hero-swiper .slide-content p {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .stats-bar .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
  }

  .stats-bar .stat:last-child {
    border-bottom: none;
  }

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

  .app-item.tall {
    grid-row: span 1;
    aspect-ratio: 1 / 1;
  }

  .prod-img-wrap img {
    height: 260px;
  }

  .about-img {
    height: 260px;
  }

  .video-wrap iframe {
    height: 220px;
  }

  .section-pad {
    padding: 56px 0;
  }

  .btn-stone,
  .btn-stone-outline {
    padding: 10px 22px;
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .hero-swiper {
    height: 300px;
  }

  .hero-swiper .slide-content {
    padding: 0 18px;
  }

  .hero-swiper .slide-content h1 {
    font-size: 20px;
  }

  .hero-swiper .slide-content .badge-tag {
    font-size: 10px;
    padding: 4px 10px;
  }

  .stats-bar .stat h3 {
    font-size: 24px;
  }

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