:root {
  /* Colors */
  --primary-blue: #0066b3;
  --dark-blue: #005599;
  --accent-yellow: #c4d600;
  --wood-light: #d4a574;
  --wood-medium: #c4956a;
  --wood-dark: #b8860b;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray: #5a5a5a;
  --light-gray: #f5f5f5;
  --csr-green: #8bc34a;
  
  /* Fluid Typography & Spacing Scale */
  --font-sm: clamp(0.8rem, 2vw, 1rem);
  --font-md: clamp(1rem, 2.5vw, 1.2rem);
  --font-lg: clamp(1.5rem, 4vw, 2.5rem);
  --font-xl: clamp(2rem, 5vw, 3.5rem);
  
  --spacing-sm: clamp(10px, 2vw, 20px);
  --spacing-md: clamp(20px, 4vw, 40px);
  --spacing-lg: clamp(40px, 8vw, 80px);
  
  --font-comic: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--black);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* =========================================
   HEADER STYLES (NEW)
   ========================================= */
.header {
    background-color: #0056b3;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    color: #0056b3;
    font-size: 28px;
    border: 3px solid white;
}

.logo-text {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: -1px;
    color: white;
}

.logo-text span {
    color: #7ed321;
}

.tagline {
    font-size: 11px;
    color: #7ed321;
    margin-top: -5px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.menu-btn {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    display: block;
    transition: all 0.3s ease;
}

/* Mobile Menu Animation States */
.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Menu */
.nav-menu {
    background-color: #0056b3;
    padding: 0;
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    background-color: #004a9e;
    padding-left: 20px;
}

.dropdown-content.active {
    display: block;
}

.dropdown-link {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    font-size: 16px;
    font-weight: normal;
    text-transform: none;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.dropdown-link:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Desktop Navigation Override */
@media (min-width: 769px) {
    .header {
        padding: 15px 40px;
    }

    .menu-btn {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        gap: 20px;
        top: auto;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 16px;
        border-top: none;
        border-radius: 5px;
    }

    .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
    }

    .nav-dropdown {
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #0056b3;
        padding: 10px 0;
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        border-radius: 5px;
        z-index: 1000;
    }

    .nav-dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-link {
        padding: 12px 20px;
        border-top: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-link:last-child {
        border-bottom: none;
    }
}

/* =========================================
   FOOTER STYLES (NEW)
   ========================================= */
.footer {
    background-color: #0056b3;
    padding: 40px 20px 20px;
    color: white;
    width: 100%;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: white;
    transform: scale(1.1);
}

.social-icon i {
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icon:hover i {
    color: #0056b3;
}

.sitemap {
    max-width: 1200px;
    margin: 0 auto;
}

.sitemap-title {
    color: #7ed321;
    font-size: 28px;
    margin-bottom: 30px;
    font-style: italic;
}

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

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

.sitemap-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.sitemap-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-logo-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 30px 15px 15px;
    }
}

/* =========================================
   HERO & PRODUCTS (FLUID & SAFE)
   ========================================= */
.hero {
  position: relative;
  min-height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/hero-bg.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  width: 100%;
}

.hero-content {
  display: flex;
  width: 100%;
  max-width: 1400px;
  gap: var(--spacing-md);
  align-items: stretch;
  flex-wrap: wrap;
}

.hero-text-box {
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  padding: var(--spacing-md);
  border-radius: 15px;
  flex: 1 1 300px;
  max-width: 100%;
}

.hero-text-box h2 {
  font-size: var(--font-md);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.hero-text-box p {
  font-size: var(--font-sm);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
  color: #ccc;
}

.sustainable-badge {
  width: clamp(60px, 10vw, 100px);
  height: clamp(60px, 10vw, 100px);
  background: radial-gradient(circle, #4a7c59 0%, #2d5016 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-sm);
  border: 3px solid var(--accent-yellow);
  color: var(--accent-yellow);
  font-weight: bold;
  font-size: var(--font-sm);
}

.hero-slider {
  flex: 1 1 400px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  min-height: 300px;
  width: 100%;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 15px;
  height: 15px;
  border: 2px solid var(--white);
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--white);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: clamp(20px, 4vw, 30px);
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 10;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
}

.slider-arrow.left {
  left: 10px;
}

.slider-arrow.right {
  right: 10px;
}

.slider-label {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 8px 20px;
  font-size: var(--font-sm);
  z-index: 10;
}

.products-section {
  background: linear-gradient(135deg, var(--wood-light) 0%, var(--wood-medium) 50%, var(--wood-dark) 100%);
  padding: var(--spacing-lg);
  text-align: center;
  width: 100%;
}

.products-section h2 {
  color: var(--white);
  font-size: var(--font-lg);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  font-family: var(--font-comic);
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  font-size: var(--font-sm);
  font-weight: bold;
}

.product-color {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.product-color.mdf { background: #5a5a5a; }
.product-color.particle { background: #d4c4a8; }
.product-color.plywood { background: #1a1a1a; }
.product-color.block { background: #4a7c59; }
.product-color.ceiling { background: #c0c0c0; }
.product-color.laminated { background: #8b7355; }
.product-color.prelam { background: #654321; }
.product-color.flush { background: #f5f5dc; }
.product-color.veneer { background: #deb887; }
.product-color.poles { background: #2f4f4f; }
.product-color.furniture { background: #4682b4; }

.contact-section {
  padding: var(--spacing-lg);
  background: var(--light-gray);
  width: 100%;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.mahogany-banner {
  position: relative;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.mahogany-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mahogany-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--white);
  font-size: var(--font-md);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Georgia', serif;
  letter-spacing: 3px;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: var(--font-md);
  font-family: var(--font-comic);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.send-btn {
  background: var(--primary-blue);
  color: var(--white);
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: var(--font-md);
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

.send-btn:hover {
  background: var(--dark-blue);
}

.floating-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.chat-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.chat-btn.whatsapp {
  background-color: #25d366;
}

.chat-btn.messenger {
  background-color: #0084ff;
}






/* OUR PRODUCTS PREVIEW */
.our-products {
  padding: var(--space-lg) var(--space-md);
  background: var(--white);
}

.our-products h2 {
  color: var(--primary-blue);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  font-family: var(--font-comic);
}

.product-category {
  max-width: min(95%, 1000px);
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.product-images {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-md);
  border-radius: 0 clamp(30px, 5vw, 50px) clamp(30px, 5vw, 50px) 0;
  overflow: hidden;
  border-right: clamp(8px, 1.5vw, 15px) solid var(--primary-blue);
}

.product-images.single img {
  width: 100%;
  height: clamp(200px, 30vh, 400px);
  object-fit: cover;
}

.product-images img {
  width: clamp(150px, 30%, 250px);
  height: clamp(200px, 30vh, 350px);
  object-fit: cover;
  flex: 1 1 clamp(150px, 30%, 250px);
}

.product-category h3 {
  color: var(--primary-blue);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: var(--space-xs);
  font-family: var(--font-comic);
}

.product-category p {
  color: #666;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.learn-more {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.learn-more:hover {
  color: var(--dark-blue);
  text-decoration: underline;
}

/* GALLERY SECTION */
.gallery-section {
  padding: var(--space-lg) var(--space-md);
  background: var(--light-gray);
  text-align: center;
}

.gallery-section h2 {
  color: var(--primary-blue);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  font-family: var(--font-comic);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.filter-btn {
  padding: var(--space-xs) var(--space-md);
  border: 3px solid var(--primary-blue);
  border-radius: 15px;
  background: var(--white);
  color: var(--primary-blue);
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  font-family: var(--font-comic);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1 1 auto;
  max-width: 200px;
}

.filter-btn.active {
  background: var(--primary-blue);
  color: var(--white);
}

.filter-btn:hover:not(.active) {
  background: rgba(0,102,179,0.1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-md);
  max-width: min(95%, 1400px);
  margin: 0 auto;
}

.gallery-item {
  border-radius: 0 clamp(30px, 5vw, 50px) clamp(30px, 5vw, 50px) 0;
  overflow: hidden;
  border-right: clamp(8px, 1.5vw, 15px) solid var(--primary-blue);
  opacity: 1;
  transition: all 0.3s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: clamp(200px, 25vh, 300px);
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

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

/* CSR SECTION */
.csr-section {
  background: var(--csr-green);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.csr-section h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  font-family: var(--font-comic);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.csr-image {
  width: clamp(200px, 40vw, 350px);
  height: clamp(200px, 40vw, 350px);
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-md);
  border: 5px solid rgba(255,255,255,0.3);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.csr-text {
  max-width: min(90%, 800px);
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.8;
}

.csr-text p {
  margin-bottom: var(--space-sm);
}

.csr-section .learn-more {
  color: var(--white);
  font-weight: bold;
}

.csr-section .learn-more:hover {
  color: var(--accent-yellow);
}
