/* Mobile Responsive CSS */

/* Base responsive settings */
@media (max-width: 768px) {
    
    /* Header & Navigation */
    .navbar-brand {
        font-size: 18px !important;
        padding: 8px 15px !important;
    }
    
    .navbar-brand img {
        height: 30px !important;
        margin-right: 8px !important;
    }
    
    .navbar-nav {
        margin-top: 10px;
    }
    
    .navbar-nav li a {
        padding: 10px 15px !important;
        font-size: 16px;
    }
    
    /* Hero Section */
    .banner-content h2 {
        font-size: 24px !important;
    }
    
    .banner-content p {
        font-size: 14px !important;
    }
    
    /* Gallery Images */
    .portfolio-items .isotopeItem {
        width: 50% !important;
        padding: 5px !important;
        margin-bottom: 15px;
    }
    
    .portfolio-item {
        height: 250px !important;
    }
    
    .portfolio-item img {
        height: 180px !important;
    }
    
    .portfolio-desc {
        height: 70px !important;
        font-size: 11px !important;
        padding: 10px !important;
    }
    
    .portfolio-desc h5 {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }
    
    .portfolio-desc p {
        font-size: 10px !important;
        margin-bottom: 3px !important;
    }
    
    .enquiry-btn {
        padding: 6px 12px !important;
        font-size: 10px !important;
        bottom: 5px !important;
    }
    
    /* Products Showcase */
    .product-showcase {
        margin-bottom: 20px;
        display: flex !important;
        align-items: stretch !important;
    }
    
    .product-card {
        padding: 15px;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        min-height: 320px !important;
    }
    
    .product-image {
        height: 150px !important;
        flex-shrink: 0 !important;
    }
    
    .product-card h4 {
        font-size: 14px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
    }
    
    .product-card p {
        font-size: 12px !important;
        flex-grow: 1 !important;
        margin-bottom: 15px !important;
    }
    
    .product-enquiry-btn {
        padding: 6px 15px !important;
        font-size: 11px !important;
        margin-top: auto !important;
        align-self: center !important;
    }
    
    /* Filter Buttons */
    .filter-buttons {
        margin-bottom: 20px;
    }
    
    .filter-btn {
        display: block !important;
        width: 100% !important;
        margin: 5px 0 !important;
        padding: 12px !important;
        font-size: 14px !important;
    }
    
    /* Sections */
    .secPad {
        padding: 40px 0 !important;
    }
    
    .heading h2 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .heading p {
        font-size: 14px !important;
    }
    
    /* About Section */
    .tileBox {
        margin-bottom: 30px;
    }
    
    .tileBox h3 {
        font-size: 18px !important;
    }
    
    .tileBox p {
        font-size: 14px !important;
    }
    
    /* Timeline */
    .timeline-panel {
        margin-bottom: 20px;
    }
    
    .timeline-panel-ul li {
        font-size: 14px !important;
    }
    
    /* Footer */
    .footer-widget {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .footer-widget h3 {
        font-size: 22px !important;
    }
    
    .footer-widget h4 {
        font-size: 16px !important;
    }
    
    .footer-widget p {
        font-size: 14px !important;
    }
    
    .social-links {
        text-align: center;
        margin: 20px 0;
    }
    
    .footer-bottom .text-right {
        text-align: center !important;
        margin-top: 10px;
    }
    
    /* Contact Info */
    .contact-info p {
        font-size: 14px !important;
        padding-left: 20px !important;
    }
    
    .contact-info i {
        font-size: 14px !important;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    
    /* Gallery - Single Column */
    .portfolio-items .isotopeItem {
        width: 100% !important;
        padding: 5px !important;
    }
    
    .portfolio-item {
        height: 280px !important;
    }
    
    .portfolio-item img {
        height: 200px !important;
    }
    
    .portfolio-desc {
        height: 80px !important;
    }
    
    /* Products - Single Column */
    .product-showcase {
        padding: 10px;
    }
    
    /* Text Sizes */
    .heading h2 {
        font-size: 20px !important;
    }
    
    .navbar-brand {
        font-size: 16px !important;
    }
    
    .navbar-brand img {
        height: 25px !important;
    }
    
    /* Footer */
    .footer-widget h3 {
        font-size: 20px !important;
    }
    
    .footer-widget h4 {
        font-size: 14px !important;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .portfolio-items .isotopeItem {
        width: 33.33% !important;
    }
    
    .portfolio-item {
        height: 220px !important;
    }
    
    .portfolio-item img {
        height: 150px !important;
    }
}