/* ============================
   OM PLYWOOD & HARDWARE - CSS
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #8B4513;
  --primary-dark: #5C2E0A;
  --primary-light: #C4742A;
  --accent: #D4A853;
  --dark: #1a1a1a;
  --text: #333333;
  --text-light: #666666;
  --bg-cream: #FAF6F0;
  --bg-light: #F5EFE6;
  --white: #ffffff;
  --border: #E8DDD0;
  --shadow: 0 4px 24px rgba(139,69,19,0.10);
  --shadow-lg: 0 12px 40px rgba(139,69,19,0.18);
  --radius: 6px;
  --radius-lg: 12px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* ============================
   NAVBAR
   ============================ */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.navbar-nav .nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text) !important;
  padding: 0.5rem 1.1rem !important;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28139, 69, 19, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.18;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 30px;
  margin-bottom: 2.5rem;
}

.btn-primary-custom {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(212,168,83,0.35);
}

.btn-primary-custom:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-outline-custom:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ============================
   SECTION HEADERS
   ============================ */
.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
}

.divider-line {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* ============================
   PRODUCTS GRID (HOME)
   ============================ */
.products-section {
  background: var(--bg-cream);
  padding: 80px 0;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.35s ease;
  height: 100%;
  border: 1px solid var(--border);
}

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

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

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

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

.product-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.product-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.product-card-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

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

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
}

.about-img-badge .num {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  display: block;
}

.about-img-badge .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================
   STATS BAR
   ============================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 50px 0;
  color: var(--white);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.75);
  margin-top: 0.4rem;
  display: block;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-section {
  background: var(--bg-cream);
  padding: 80px 0;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--border);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-light);
}

.stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

/* ============================
   BRANDS SECTION
   ============================ */
.brands-section {
  background: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brand-logo {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.brand-logo:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.brand-logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.brand-logo:hover img {
  filter: none;
}

/* ============================
   PAGE HERO (inner pages)
   ============================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 70px 0 55px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="35" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/></svg>') repeat;
  background-size: 80px 80px;
}

.page-hero-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 520px;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--accent);
}

.breadcrumb-item.active {
  color: rgba(255,255,255,0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

/* ============================
   PRODUCTS PAGE
   ============================ */
.products-page {
  background: var(--bg-cream);
  padding: 60px 0;
}

.product-category-section {
  margin-bottom: 60px;
}

.product-category-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 30px;
  margin-bottom: 0.6rem;
}

.product-category-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--border);
}

.product-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

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

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

/* ============================
   ABOUT PAGE
   ============================ */
.about-page {
  padding: 70px 0;
}

.feature-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text);
}

.feature-list li::before {
  content: '✓';
  background: var(--primary);
  color: var(--white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-page {
  padding: 70px 0;
  background: var(--bg-cream);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.contact-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-card p, .contact-card a {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.form-wrapper p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
}

.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-cream);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139,69,19,0.1);
  background: var(--white);
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.btn-submit {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2.5rem;
  border-radius: 4px;
  border: none;
  transition: all 0.3s;
  width: 100%;
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,69,19,0.3);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ============================
   QUALITY HIGHLIGHT SECTION
   ============================ */
.quality-section {
  background: var(--primary-dark);
  padding: 80px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.quality-section::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 80px solid rgba(255,255,255,0.04);
}

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

.quality-section .section-subtitle {
  color: rgba(255,255,255,0.75);
  max-width: 100%;
}

.quality-btn {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.quality-btn:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 1.2rem;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.6);
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ============================
   WHATSAPP FLOAT
   ============================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: all 0.3s;
  animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
  background: #1da851;
  transform: scale(1.1);
  animation: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ============================
   AWARDS SECTION
   ============================ */
.awards-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.award-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.award-item:last-child { border-bottom: none; }

.award-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.award-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

/* ============================
   UTILITY
   ============================ */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.section-pad { padding: 80px 0; }

@media (max-width: 768px) {
  .hero-section { min-height: 70vh; padding-bottom: 60px; }
  .section-pad { padding: 55px 0; }
  .about-img-wrap img { height: 320px; }
  .stat-number { font-size: 2rem; }
  .form-wrapper { padding: 1.5rem; }
}
