/* ======================================================
   GLOBAL MOBILE RESPONSIVE PATCHES
   Covers all sections — no UI changes, layout fixes only
   ====================================================== */

/* ======================================================
   GLOBAL TYPOGRAPHY SCALE
   ====================================================== */
@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  h4 { font-size: 17px; }
}

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  h4 { font-size: 15px; }
}

/* ======================================================
   ENTERPRISE HERO SECTION
   ====================================================== */
@media (max-width: 768px) {
  .enterprise-hero {
    padding: 30px 16px;
  }

  .enterprise-hero-container {
    flex-direction: column;
    gap: 30px;
  }

  .enterprise-content {
    max-width: 100%;
  }

  .enterprise-subtitle {
    font-size: 15px;
  }

  .enterprise-offerings {
    gap: 8px;
  }

  .enterprise-cta {
    flex-direction: column;
    gap: 10px;
  }

  .enterprise-cta a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* Mobile: simple vertical stack — three full-width images one below the other */
  .enterprise-hero .enterprise-visual {
    all: unset;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    flex: none !important;
  }

  .enterprise-hero .enterprise-visual .visual-card {
    all: unset;
    display: block !important;
    width: 100% !important;
    height: 200px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 4px solid #fff !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    position: relative !important;
    flex: none !important;
    z-index: auto !important;
  }

  .enterprise-hero .enterprise-visual .visual-card img {
    all: unset;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: 100% !important;
  }

  .enterprise-hero .enterprise-visual .main-card {
    width: 100% !important;
    height: 200px !important;
    max-width: 100% !important;
  }

  .enterprise-hero .enterprise-visual .card-1,
  .enterprise-hero .enterprise-visual .card-2 {
    width: 100% !important;
    height: 200px !important;
    max-width: 100% !important;
  }
}

/* ======================================================
   ENTERPRISE OFFICE INTERIOR SECTION
   ====================================================== */
@media (max-width: 768px) {
  .workspace-transform {
    padding: 40px 0;
  }

  .workspace-intro {
    margin-bottom: 30px;
    padding: 0 4px;
  }

  .workspace-intro p {
    font-size: 15px;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

  .workspace-showcase img {
    height: 220px;
    object-fit: cover;
  }

  .workspace-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 16px;
  }

  .workspace-overlay h4 {
    max-width: 100%;
    font-size: 16px;
  }

  .workspace-overlay .btn-primary {
    padding: 12px 24px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ======================================================
   ENTERPRISE CORPORATE GIFTS SECTION
   ====================================================== */
@media (max-width: 768px) {
  .corporate-gifts {
    padding: 50px 0;
  }

  .corporate-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 0 16px;
  }

  .corporate-content p {
    font-size: 15px;
  }

  .corporate-features {
    justify-content: center;
  }

  .corporate-visual {
    margin-top: 0;
    width: 100%;
  }

  .corporate-image-wrapper {
    width: 100%;
    height: 320px;
  }

  .corporate-image-wrapper a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ======================================================
   PORTFOLIO HERO SECTION
   ====================================================== */
@media (max-width: 768px) {
  .portfolio-hero {
    padding: 30px 0 20px;
  }

  .portfolio-wrapper {
    padding: 0 16px;
  }

  .portfolio-subtitle {
    font-size: 15px;
  }

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

@media (max-width: 480px) {
  .portfolio-stats {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   PORTFOLIO WORK SECTION
   ====================================================== */
@media (max-width: 768px) {
  .portfolio-work .container {
    padding: 0 16px;
  }

  .work-header {
    margin-bottom: 40px;
  }

  .work-list {
    gap: 50px;
  }

  .work-row,
  .work-row.reverse {
    flex-direction: column;
    gap: 24px;
  }

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

  .slides img {
    aspect-ratio: 16/9;
  }
}

/* ======================================================
   PORTFOLIO REVIEWS SECTION
   ====================================================== */
@media (max-width: 768px) {
  .portfolio-reviews .container {
    padding: 0 16px;
  }

  .reviews-layout {
    column-count: 1;
  }

  .reviews-header {
    margin-bottom: 30px;
  }
}

/* ======================================================
   PRODUCT SECTIONS (FURNITURE / DAILY USE / INTERIOR DECOR)
   ====================================================== */
@media (max-width: 768px) {
  .products-section,
  .dailyuse-section {
    padding: 10px 16px;
  }

  .products-grid,
  .dailyuse-section .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .products-grid,
  .dailyuse-section .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   PRODUCT DETAILS HERO
   ====================================================== */
@media (max-width: 768px) {
  .product-hero {
    padding: 30px 16px;
  }

  .product-hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .main-image {
    height: auto;
  }

  .main-image img {
    height: auto;
    object-fit: contain;
  }

  .product-title {
    font-size: 26px;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions a {
    width: 100%;
    box-sizing: border-box;
  }
}

/* ======================================================
   PRODUCT DETAILS SUMMARY
   ====================================================== */
@media (max-width: 768px) {
  .product-details {
    padding: 30px 16px;
  }

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

  .story-card,
  .details-cta {
    grid-column: span 1;
  }

  #productSpecs {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   ABOUT FOUNDERS SECTION
   ====================================================== */
@media (max-width: 768px) {
  .founders-section {
    padding: 30px 0;
  }

  .founders-container {
    padding: 0 16px;
  }

  .founders-header {
    margin-bottom: 40px;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .founder-card {
    padding: 24px 20px;
  }
}

/* ======================================================
   ABOUT GALLERY SECTION
   ====================================================== */
@media (max-width: 768px) {
  .about-gallery-section {
    padding: 30px 0;
  }

  .about-gallery-container {
    padding: 0 16px;
  }

  .about-gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .about-gallery-grid {
    column-count: 1;
  }
}

/* ======================================================
   CONTACT HERO SECTION
   ====================================================== */
@media (max-width: 768px) {
  .contact-hero-section {
    padding: 60px 0 40px;
  }

  .contact-hero-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 16px;
  }

  .contact-hero-content {
    flex: unset;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .contact-hero-title {
    font-size: 28px;
  }

  .contact-hero-subtitle {
    font-size: 14px;
  }

  .contact-hero-image {
    flex: unset;
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

  .bamboo-structure {
    display: none;
  }
}

/* ======================================================
   CONTACT MAP SECTION
   ====================================================== */
@media (max-width: 768px) {
  .contact-map-section {
    padding: 30px 16px;
    margin-top: 0;
  }

  .contact-map-center iframe {
    height: 220px;
  }
}

/* ======================================================
   BLOG SECTION
   ====================================================== */
@media (max-width: 768px) {
  .blog-section {
    padding: 30px 16px;
  }

  .blog-container {
    padding: 0;
  }

  .blog-image {
    height: 200px;
  }

  .blog-text h3 {
    font-size: 20px;
  }

  .blog-text p {
    font-size: 14px;
  }
}

/* ======================================================
   TERMS & SERVICES SECTION
   ====================================================== */
@media (max-width: 768px) {
  .terms-section {
    padding: 30px 0;
  }

  .terms-container {
    padding: 0 16px;
  }

  .terms-header {
    margin-bottom: 30px;
  }

  .terms-title {
    font-size: 28px;
  }

  .terms-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .term-card {
    padding: 20px 16px;
  }
}

/* ======================================================
   HOME TESTIMONIAL SECTION
   ====================================================== */
@media (max-width: 768px) {
  .testimonial-section {
    padding: 10px 16px;
  }

  .testimonial-header h2 {
    font-size: 24px;
  }

  .stats-wrapper {
    gap: 12px;
  }

  .stat h3 {
    font-size: 28px;
  }

  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ======================================================
   HOME CTA SECTION
   ====================================================== */
@media (max-width: 768px) {
  .cta-section {
    padding: 30px 16px;
  }

  .cta-content h2 {
    font-size: 22px;
  }

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

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ======================================================
   VMV (Vision / Mission / Values) mobile fixes
   - ensure logo + company name fit
   ====================================================== */
@media (max-width: 768px) {
  .vmv-core {
    padding: 16px !important;
    width: 180px !important;
    height: 180px !important;
    box-sizing: border-box;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .vmv-core .vmv-logo {
    width: 78px !important;
    margin-bottom: 4px !important;
  }

  .vmv-core h3 {
    font-size: 16px !important;
    line-height: 1.1 !important;
    margin: 2px 0 0 !important;
    text-align: center;
  }

  .vmv-core p {
    font-size: 11px !important;
    line-height: 1.2 !important;
    margin: 2px 0 0 !important;
    text-transform: none;
    letter-spacing: 0.2px;
    text-align: center;
    max-width: 100%;
  }

  /* Card readability */
  .vmv-card p {
    font-size: 14px !important;
  }
}

/* ======================================================
   PREVENT HORIZONTAL OVERFLOW GLOBALLY
   ====================================================== */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

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

  .container,
  .workspace-transform .container,
  .portfolio-work .container,
  .portfolio-reviews .container {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}

