/* ============================================
   MOBILE RESPONSIVE MEDIA QUERIES
   (For screens up to 768px)
============================================ */

@media screen and (max-width: 768px) {
  
  /* General Mobile Adjustments */
  .container {
    padding: 0 15px;
  }
  
  body {
    font-size: 14px;
  }
  
  /* Header Mobile Styles */
  .header {
    padding: 10px 0;
  }
  
  .header .container {
    flex-wrap: wrap;
  }
  
  .logo-container {
    order: 1;
    width: 70%;
  }
  
  .mobile-menu-toggle {
    display: block;
    order: 2;
    width: 30%;
    text-align: right;
    padding: 10px;
  }
  
  .logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }
  
  .logo-text h1 {
    font-size: 1.2rem;
    margin-bottom: 3px;
  }
  
  .tagline {
    font-size: 0.7rem;
  }
  
  /* Mobile Navigation */
  .nav-menu {
    order: 3;
    width: 100%;
    display: none;
    margin-top: 15px;
  }
  
  .nav-menu.active {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: white;
    border-radius: 10px;
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .nav-list li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-list li:last-child {
    border-bottom: none;
  }
  
  .nav-list a {
    display: block;
    padding: 15px;
    font-size: 1.1rem;
  }
  
  .contact-btn a {
    animation: none;
    padding: 12px 30px !important;
    font-size: 1rem;
  }
  
  .contact-btn a:hover {
    transform: scale(1.05);
  }
  
  .warranty-badge-header {
    padding: 6px 12px;
    font-size: 0.9rem;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    order: 4;
    margin-top: 15px;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    padding: 60px 0 40px;
    background-attachment: scroll;
  }
  
  .hero-title {
    font-size: 2rem;
    padding: 0 10px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }
  
  .hero-warranty-badge {
    flex-direction: column;
    padding: 15px;
    gap: 10px;
    margin: 20px 15px;
  }
  
  .hero-warranty-badge i {
    font-size: 1.8rem;
  }
  
  .warranty-years {
    font-size: 1.8rem;
  }
  
  .warranty-label {
    font-size: 0.9rem;
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
  
  /* Section Headers Mobile */
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  /* Products Grid Mobile */
  .products-grid,
  .products-grid-large {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }
  
  .product-img-container {
    height: 200px;
  }
  
  .product-warranty-badge {
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 5px 10px;
  }
  
  .product-info {
    padding: 15px;
  }
  
  .product-info h3 {
    font-size: 1.2rem;
  }
  
  .enquiry-btn {
    width: 100%;
    text-align: center;
  }
  
  /* Intro Section Mobile */
  .intro-section {
    padding: 50px 0;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .intro-card {
    padding: 25px 20px;
  }
  
  .intro-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* Featured Section Mobile */
  .featured-section {
    padding: 50px 0;
  }
  
  /* Custom Section Mobile */
  .custom-section {
    padding: 60px 0;
  }
  
  .custom-content {
    padding: 20px;
  }
  
  .custom-content h2 {
    font-size: 2rem;
  }
  
  .custom-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-item {
    padding: 20px;
  }
  
  .custom-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Trust Section Mobile */
  .trust-section {
    padding: 50px 0;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .trust-card {
    padding: 25px 20px;
  }
  
  .trust-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .trust-indicators {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    margin-top: 30px;
  }
  
  .indicator:not(:last-child)::after {
    display: none;
  }
  
  /* Testimonials Mobile */
  .testimonials-section {
    padding: 50px 0;
  }
  
  .testimonials-slider,
  .testimonials-grid,
  .customer-reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .google-badge {
    flex-direction: column;
    padding: 15px;
    gap: 10px;
  }
  
  /* Business Info Card Mobile */
  .business-info-card {
    padding: 20px;
  }
  
  .business-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .business-cta {
    flex-direction: column;
  }
  
  /* CTA Section Mobile */
  .cta-section,
  .premium-cta-section {
    padding: 50px 0;
  }
  
  .premium-cta-content {
    padding: 20px;
  }
  
  .premium-cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-action-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .action-card {
    padding: 20px;
  }
  
  .cta-buttons-premium {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-premium,
  .btn-premium-outline {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .footer-col h3::after,
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .badge-item {
    width: 100%;
    justify-content: center;
  }
  
  /* Floating Buttons Mobile */
  .whatsapp-float,
  .call-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    right: 20px;
    bottom: 20px;
  }
  
  .call-float {
    bottom: 85px;
  }
  
  /* Search Box Mobile */
  .search-container {
    margin: 20px auto;
  }
  
  .search-box input {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .search-tags {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .search-tags a {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 4px 12px;
  }
  
  /* Category Filters Mobile */
  .category-filters {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 15px;
    margin: 20px 0;
  }
  
  .category-filter {
    white-space: nowrap;
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  /* Page Headers Mobile */
  .page-header-section,
  .products-header-section,
  .custom-header-section,
  .contact-header-section {
    padding: 60px 0 40px;
  }
  
  .page-header-content h1,
  .products-header-content h1,
  .custom-header-content h1,
  .contact-header-content h1 {
    font-size: 1.8rem;
  }
  
  .page-header-content p,
  .products-header-content p,
  .custom-header-content p,
  .contact-header-content p {
    font-size: 1rem;
    padding: 0 15px;
  }
  
  /* About Page Mobile */
  .story-grid,
  .craftsmanship-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px 0;
  }
  
  .mission-vision {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 20px 15px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .warranty-highlight {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-card {
    padding: 30px 15px;
  }
  
  .stat-card h3 {
    font-size: 2.5rem;
  }
  
  .about-cta-section {
    padding: 50px 0;
  }
  
  /* Products Page Mobile */
  .products-warranty-section {
    padding: 40px 0;
    margin: 40px 0;
  }
  
  .warranty-assurance {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .warranty-points {
    grid-template-columns: 1fr;
  }
  
  /* Custom Page Mobile */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .process-step {
    padding: 20px;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .custom-examples-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .example-image {
    height: 200px;
  }
  
  .warranty-highlight-large {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }
  
  .warranty-benefits {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* Contact Page Mobile */
  .contact-info-grid,
  .contact-methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-method {
    padding: 20px 15px;
  }
  
  .method-icon,
  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .map-form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .form-container {
    padding: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .warranty-info {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }
  
  .warranty-contact-methods {
    flex-direction: column;
    gap: 10px;
  }
  
  .warranty-contact {
    justify-content: center;
  }
  
  .faq-question {
    padding: 15px;
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 0 15px 15px;
    font-size: 0.9rem;
  }
  
  .quick-contact-section {
    padding: 40px 0;
  }
  
  .quick-contact-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Modal Mobile */
  .modal-content {
    width: 95%;
    margin: 20px auto;
  }
  
  .modal-header {
    padding: 15px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 10px 12px;
  }
  
  /* Benefit Cards Mobile */
  .benefit-card {
    padding: 15px;
  }
  
  .benefit-image {
    height: 150px;
  }
  
  .benefit-card h3 {
    font-size: 1.2rem;
  }
  
  /* Business Tagline Mobile */
  .business-tagline {
    padding: 20px;
    margin: 20px 0;
  }
  
  /* View All Container Mobile */
  .view-all-container {
    margin-top: 30px;
  }
  
  /* Load More Container Mobile */
  .load-more-container {
    margin: 30px 0;
  }
  
  /* Products CTA Mobile */
  .products-cta-section {
    padding: 40px 0;
  }
  
  /* Animation Adjustments for Mobile */
  .hero-warranty-badge::before,
  .product-card::before,
  .trust-card::before {
    animation: none;
  }
  
  .glow-button::before,
  .btn-premium::before {
    display: none;
  }
  
  /* Smooth scrolling for mobile */
  html {
    scroll-behavior: smooth;
  }
  
  /* Prevent horizontal scrolling */
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Adjust font sizes for better readability */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.3rem; }
  h5 { font-size: 1.1rem; }
  p, li, a { font-size: 1rem; }
  
  /* Button adjustments */
  .btn, .btn-primary, .btn-secondary, .btn-outline, .btn-large {
    font-size: 1rem;
    padding: 12px 24px;
  }
  
  /* Image optimization */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Remove fixed heights */
  .product-img-container,
  .example-image,
  .benefit-image {
    height: auto;
    min-height: 200px;
  }
  
  /* Stack grid items */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  /* Center align text on mobile */
  .text-center-mobile {
    text-align: center;
  }
  
  /* Hide certain elements on mobile if needed */
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
  
  /* Adjust padding for touch targets */
  a, button, input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Form adjustments */
  input, textarea, select {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Remove complex animations on mobile for performance */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* ============================================
   SMALL MOBILE DEVICES (up to 480px)
============================================ */

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .logo-text h1 {
    font-size: 1.1rem;
  }
  
  .tagline {
    font-size: 0.65rem;
  }
  
  .nav-list a {
    font-size: 1rem;
  }
  
  .whatsapp-float,
  .call-float {
    width: 45px;
    height: 45px;
    font-size: 20px;
    right: 15px;
    bottom: 15px;
  }
  
  .call-float {
    bottom: 70px;
  }
  
  .product-info h3 {
    font-size: 1.1rem;
  }
  
  .trust-indicators h4 {
    font-size: 2rem;
  }
  
  .premium-cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
}

/* ============================================
   VERY SMALL MOBILE DEVICES (up to 320px)
============================================ */

@media screen and (max-width: 320px) {
  .container {
    padding: 0 10px;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .logo-img {
    width: 40px;
    height: 40px;
  }
  
  .logo-text h1 {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.4rem;
  }
  
  .nav-list a {
    padding: 12px;
  }
  
  .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

/* ============================================
   TABLET DEVICES (769px to 1024px)
============================================ */

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 95%;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .story-grid,
  .craftsmanship-grid {
    gap: 40px;
  }
  
  .mission-vision {
    grid-template-columns: 1fr;
  }
  
  .map-form-grid {
    gap: 40px;
  }
}

/* ============================================
   LANDSCAPE ORIENTATION
============================================ */

@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    padding: 40px 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .btn {
    width: auto;
  }
  
  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .nav-list li {
    width: auto;
    border-bottom: none;
  }
}

/* ============================================
   PRINT STYLES
============================================ */

@media print {
  .header,
  .footer,
  .whatsapp-float,
  .call-float,
  .hero-buttons,
  .contact-btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .container {
    width: 100%;
    max-width: none;
  }
  
  a {
    color: black;
    text-decoration: none;
  }
  
  .product-card,
  .trust-card,
  .testimonial-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Mobile Responsive for Warranty Information Section */
@media screen and (max-width: 768px) {
  .contact-warranty-section {
    padding: 30px 0;
  }
  
  .warranty-info {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }
  
  .warranty-info-icon {
    margin: 0 auto;
  }
  
  .warranty-info-icon i {
    font-size: 2.5rem;
  }
  
  .warranty-info-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .warranty-info-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .warranty-contact-methods {
    flex-direction: column;
    gap: 10px;
  }
  
  .warranty-contact {
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .warranty-contact span {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .warranty-info {
    padding: 15px;
  }
  
  .warranty-info-content h2 {
    font-size: 1.3rem;
  }
  
  .warranty-info-content p {
    font-size: 0.9rem;
  }
  
  .warranty-contact {
    padding: 10px 15px;
  }
  
  .warranty-contact span {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 320px) {
  .warranty-info-content h2 {
    font-size: 1.2rem;
  }
  
  .warranty-contact {
    flex-direction: column;
    gap: 8px;
  }
  
  .warranty-contact i {
    font-size: 1.1rem;
  }
}