/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #f4f6fa;
    color: #222;
    line-height: 1.6;
    /* Performance optimizations */
    will-change: auto; /* Remove unnecessary will-change */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.6);
    color: #fff;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.2s ease; /* Faster transition */
    backdrop-filter: blur(10px); /* Reduced blur for better performance */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    /* Performance optimizations */
    transform: translateZ(0); /* Force hardware acceleration */
    contain: layout style; /* CSS containment for better performance */
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem !important; /* RESTORED PROPER TOP/BOTTOM PADDING */
    min-height: 0 !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 !important;
    padding: 0 !important;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 !important;
    padding: 0 !important;
}

.logo span {
    font-family: 'Dynamo MN', 'Oswald', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 2.8rem !important;
    letter-spacing: 2px !important;
    color: #1d1d1f !important;
    line-height: 0.8 !important; /* TIGHT TO ELIMINATE SPACE BELOW TEXT */
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: -0.2rem !important; /* PULL UP TO ELIMINATE DEAD SPACE BELOW */
}

.logo-img {
    height: 50px !important; /* OPTIMAL SIZE FOR MOBILE */
    width: auto;
    display: block;
    margin: 0 !important; /* NO MARGIN */
    padding: 0 !important; /* NO PADDING */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    margin-top: -0.3rem !important; /* PULL UP NAV MENU TO ELIMINATE DEAD SPACE */
}

nav a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 500;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.4px;
    margin: 0 !important;
    padding: 0.2rem 0 !important;
    line-height: 1 !important;
    transition: color 0.2s;
    position: relative;
    padding: 0.4rem 0; /* Increased padding */
}

nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ffb300;
    transition: width 0.3s;
    position: absolute; /* <-- Remove the Z here */
    left: 0;
    bottom: -2px;
}

nav a:hover,
nav a:focus {
    color: #f6821f; /* Keep your brand color on hover */
}

nav a:hover::after,
nav a:focus::after {
    width: 100%;
}

nav a.active {
    color: #f6821f !important;
}

/* Remove/hide the hamburger menu button */
.nav-toggle {
    display: none !important;
}

/* Always show the nav menu, even on mobile */
nav ul {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    gap: 2rem;
}

/* Remove the mobile-specific nav styles */
@media (max-width: 900px) {
    .nav-toggle {
        display: none !important;
    }
    nav ul {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        min-width: 0 !important;
        border-radius: 0 !important;
        gap: 1rem;
    }
}

/* Hero Section with Optimized Parallax */
.hero-section {
    background: linear-gradient(rgba(35,45,58,0.7), rgba(35,45,58,0.7)), url('../assets/home-bg.webp') center/cover no-repeat;
    background-attachment: scroll; /* Changed from fixed for mobile performance */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    overflow: hidden;
    /* Performance optimizations */
    transform: translateZ(0); /* Force hardware acceleration */
    contain: layout style; /* CSS containment */
}

/* Optimized Floating Particles - Reduced complexity */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(246, 130, 31, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 70% 20%, rgba(255, 179, 0, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 40% 70%, rgba(246, 130, 31, 0.04) 3px, transparent 3px);
    background-size: 300px 300px, 200px 200px, 400px 400px; /* Larger patterns = less GPU work */
    animation: floatingParticles 30s ease-in-out infinite; /* Slower animation */
    pointer-events: none;
    will-change: transform; /* Only animate transform */
}

@keyframes floatingParticles {
    0%, 100% { transform: translate3d(0, 0, 0); } /* Use translate3d for hardware acceleration */
    50% { transform: translate3d(-5px, -8px, 0); } /* Simplified keyframes */
}

.hero-overlay {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 2rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: 'Oswald', Arial, sans-serif; /* Same as section h2 */
    font-size: 3.5rem;
    font-weight: 700; /* Same as section h2 */
    letter-spacing: 1px; /* Same as section h2 */
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Roboto', Arial, sans-serif; /* Same as button */
    font-weight: bold; /* Same as button */
    font-size: 1.25rem; /* Same as button */
    margin-bottom: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    letter-spacing: 0.08em; /* Same as button */
    text-transform: uppercase; /* Same as button */
}

.hero-btn {
    display: inline-block;
    background: #f6821f;
    color: #232d3a;
    font-weight: bold;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.2s ease; /* Faster, simpler transition */
    border: 2px solid transparent;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(246,130,31,0.10);
    position: relative;
    overflow: hidden;
    /* Performance optimizations */
    transform: translateZ(0); /* Force hardware acceleration */
    will-change: transform; /* Only animate transform on interaction */
}

/* Simplified pulsing effect - less GPU intensive */
.hero-btn {
    animation: none; /* Remove continuous animation for better performance */
}

.hero-btn:hover {
    background: #232d3a;
    color: #f6821f;
    border: 2px solid #f6821f;
    box-shadow: 0 8px 24px rgba(246,130,31,0.18);
    transform: translate3d(0, -2px, 0) scale(1.04); /* Use translate3d */
}

.hero-btn:active,
button:active,
input[type="submit"]:active {
    transform: translate3d(0, 0, 0) scale(0.96); /* Use translate3d */
}

/* Sections */
.section {
    max-width: 1100px;
    margin: 3rem auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(35,45,58,0.07);
    padding: 2.5rem 0 2.5rem 0;
    opacity: 0;
    transform: translate3d(0, 40px, 0); /* Use translate3d for hardware acceleration */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out; /* Faster transition */
    scroll-margin-top: 90px;
    /* Performance optimizations */
    contain: layout style; /* CSS containment */
}

.section.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0); /* Use translate3d */
}

.section.alt-bg {
    background: #f8fafc;
}

.section:not(:last-child) {
    border-bottom: 1px solid #ececec;
}

.section h2 {
    color: #232d3a;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0.5rem 0 0.5rem 0;
    border-left: 4px solid #ffb300;
    padding-left: 0.6rem;
    margin-top: 0; /* Remove any top margin */
    /* Subtle text shadow for depth */
    text-shadow: 2px 2px 4px rgba(35, 45, 58, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.section h3,
.section h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.section p {
    font-size: 1.15rem;
    color: #444;
}

/* Products Section with Glassmorphism */
.products-desc {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(35,45,58,0.12);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Simplified transition */
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px); /* Reduced blur */
    -webkit-backdrop-filter: blur(10px);
    /* Performance optimizations */
    transform: translateZ(0); /* Force hardware acceleration */
    contain: layout style; /* CSS containment */
}

/* Simplified shine effect - less GPU intensive */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.4s ease; /* Faster transition */
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(246, 130, 31, 0.3);
    box-shadow: 0 12px 36px rgba(246,130,31,0.12);
    transform: translate3d(0, -6px, 0) scale(1.01); /* Use translate3d */
    z-index: 2;
    backdrop-filter: blur(12px); /* Slightly reduced blur */
    -webkit-backdrop-filter: blur(12px);
}

.product-card img {
    width: 100%;
    max-width: 350px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #e0e0e0;
    box-shadow: 0 4px 16px rgba(35,45,58,0.08);
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}

/* Image zoom effect on hover */
.product-card:hover img {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(35,45,58,0.15);
}

.product-card h3 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.2rem;
    color: #232d3a;
    margin-bottom: 0.5rem;
}

.product-card p {
    font-size: 1rem;
    color: #555;
}

/* Gallery Section with Optimized Performance */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    /* Performance optimizations */
    contain: layout style; /* CSS containment */
}

.gallery-grid .gallery-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.2s ease; /* Faster transition */
    aspect-ratio: 4/3;
    /* Performance optimizations */
    transform: translateZ(0); /* Force hardware acceleration */
    contain: layout style; /* CSS containment */
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(35,45,58,0.12);
    transition: transform 0.2s ease; /* Faster transition */
    display: block;
    /* Performance optimizations */
    transform: translateZ(0); /* Force hardware acceleration */
}

.gallery-grid .gallery-img-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(35,45,58,0.22);
    opacity: 0;
    transition: opacity 0.2s ease; /* Faster transition */
    pointer-events: none;
    border-radius: 12px;
}

/* Optimized hover effects */
.gallery-grid .gallery-img-wrap:hover img {
    transform: translate3d(0, 0, 0) scale(1.05); /* Reduced scale + translate3d */
    box-shadow: 0 8px 28px rgba(246,130,31,0.15);
}

.gallery-grid .gallery-img-wrap:hover .gallery-img-overlay {
    opacity: 1;
}

.gallery-grid .gallery-img-wrap:hover {
    transform: translate3d(0, -2px, 0); /* Reduced movement + translate3d */
    z-index: 10;
}

/* Contact Section */
.contact-flex {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.contact-flex > iframe,
.contact-flex > .contact-info {
    flex: 1 1 0;
    min-width: 0;
}

.contact-flex > iframe {
    height: 100%;
    min-height: 400px; /* fallback for very small screens */
}

.contact-form {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f8fafc;
    padding: 1.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(35,45,58,0.07);
    position: relative;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 0.7rem; /* Reduced from 1.5rem for tighter spacing */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.1rem 0.75rem 0.5rem 0.75rem;
    font-size: 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: 7px;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: none;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"] {
    text-align: left;
    vertical-align: middle;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f6821f;
    box-shadow: 0 0 0 2px rgba(246,130,31,0.13);
}

.contact-form label {
    position: absolute;
    top: 1.1rem;
    left: 0.85rem;
    color: #888;
    font-size: 1rem;
    background: transparent;
    pointer-events: none;
    transition: 0.18s cubic-bezier(.4,0,.2,1);
    padding: 0 0.2em;
}

.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -0.7rem;
    left: 0.7rem;
    font-size: 0.92rem;
    color: #f6821f;
    background: #fff;
    padding: 0 0.3em;
}

.contact-form button {
    background: #ffb300;
    color: #232d3a;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    padding: 0.7rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(246,130,31,0.10);
    position: relative;
    overflow: hidden;
}

.contact-form button:hover {
    background: #232d3a;
    color: #ffb300;
    border: 2px solid #ffb300;
    box-shadow: 0 8px 24px rgba(246,130,31,0.18);
    transform: translateY(-2px) scale(1.04);
}

.contact-form button:active,
button:active,
input[type="submit"]:active {
    transform: scale(0.96);
}

.contact-info {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    font-size: 1.08rem;
    justify-content: flex-start;
}

.contact-info span {
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(35,45,58,0.10);
}
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

/* Footer */
footer {
    background: #232d3a;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0 1rem 0;
    margin-top: 2rem;
    font-size: 0.85rem; /* Smaller font size */
    letter-spacing: 1px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Lightbox styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20, 24, 31, 0.96);
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    margin: auto;
    display: block;
    border-radius: 10px;
    background: #222;
    box-shadow: 0 8px 32px rgba(35,45,58,0.25);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: #fff;
    font-size: 2.2rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(35,45,58,0.45);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    user-select: none;
    transition: background 0.2s;
    outline: none; /* Remove blue outline */
    -webkit-tap-highlight-color: transparent; /* Remove mobile tap highlight */
}
.lightbox-close {
    top: 2rem;
    right: 2rem;
    left: auto;
    font-size: 2.5rem;
    background: rgba(35,45,58,0.7);
    transform: none;
    outline: none; /* Ensure no outline on close button */
}
.lightbox-prev {
    left: 2vw;
}
.lightbox-next {
    right: 2vw;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: #f6821f;
    color: #fff;
    outline: none; /* Remove outline on hover */
}
.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus {
    background: #f6821f;
    color: #fff;
    outline: none; /* Remove outline on focus */
    box-shadow: 0 0 0 2px rgba(246, 130, 31, 0.3); /* Custom focus indicator */
}

/* Prevent background scroll when modal is open */
body.lightbox-open {
    overflow: hidden !important;
}

/* Mobile adjustments */
@media (max-width: 700px) {
    .lightbox-content {
        max-width: 98vw;
        max-height: 60vh;
    }
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        width: 36px;
        height: 36px;
    }
    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
    .lightbox-prev {
        left: 1vw;
    }
    .lightbox-next {
        right: 1vw;
    }
}

/* About Us Section */
.about-flex {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.about-text {
    flex: 2 1 320px;
    min-width: 260px;
}

.about-text h2 {
    color: #232d3a;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.about-text h3 {
    color: #232d3a; /* Changed from #ffb300 to match button text color */
    font-family: 'Roboto', Arial, sans-serif; /* Changed from 'Oswald' to match button */
    font-size: 1.25rem; /* Changed from 1.3rem to match button */
    font-weight: bold; /* Added to match button */
    margin-bottom: 1rem;
    letter-spacing: 0.08em; /* Added to match button */
    text-transform: uppercase; /* Added to match button */
}

.about-text h4 {
    color: #232d3a;
    font-size: 1.3rem; /* Increased from 1.08rem */
    margin: 1.1rem 0 0.5rem 0;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 600; /* Added font-weight for more prominence */
    letter-spacing: 0.8px; /* Increased from 0.5px */
    border-left: 4px solid #ffb300;
    padding-left: 0.6rem;
    margin-bottom: 0.5rem;
}

.about-text p {
    font-size: 1.08rem;
    color: #444;
    margin-bottom: 1rem;
}

.about-list {
    list-style: disc inside;
    padding-left: 0.5em;
}

.about-list-highlight {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem 1.2rem;
    margin: 0.7rem 0 0.5rem 0;
}

.about-list-highlight li {
    background: #f6821f; /* Changed from #fffbe6 to #f6821f */
    color: #fff;         /* White text for contrast */
    border-radius: 7px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(246,130,31,0.10);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.05rem;
    margin-bottom: 0; /* Remove bottom margin for grid */
}

.about-list-highlight li:last-child {
    margin-bottom: 0;
}

.about-columns {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 1.2rem;
}

.about-columns > div {
    background: #f8fafc; /* Soft blue-grey for contrast */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(35,45,58,0.06);
    padding: 1.1rem 1rem 0.7rem 1rem;
    margin: 0;
}

/* Optimized Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background: rgba(246,130,31,0.3);
    width: 100px;
    height: 100px;
    /* Performance optimization */
    will-change: transform, opacity;
    contain: strict; /* Strict containment for better performance */
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}



/* Font Face */
@font-face {
    font-family: 'Dynamo MN';
    src: url('../assets/fonts/DynamoMN-Bold.woff2') format('woff2'),
         url('../assets/fonts/DynamoMN-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Sticky Quote Button */
.sticky-quote-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.quote-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f6821f, #ff9a3c);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 32px rgba(246, 130, 31, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    /* Haptic feedback simulation */
    position: relative;
}

.quote-btn:hover {
    background: linear-gradient(135deg, #ff9a3c, #f6821f);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(246, 130, 31, 0.4);
}

/* Mobile haptic feedback simulation */
@media (max-width: 768px) {
    .quote-btn:active {
        transform: scale(0.95);
        box-shadow: 0 4px 16px rgba(246, 130, 31, 0.6);
        animation: hapticPulse 0.2s ease-out;
    }
    
    .hero-btn:active {
        transform: scale(0.95);
        animation: hapticPulse 0.2s ease-out;
    }
}

@keyframes hapticPulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(0.98); }
    100% { transform: scale(0.95); }
}

.quote-icon {
    font-size: 1.2rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    z-index: 1000;
    background: rgba(35, 45, 58, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(35, 45, 58, 0.2);
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.back-to-top:hover {
    background: rgba(246, 130, 31, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(246, 130, 31, 0.3);
}

.back-to-top.show {
    display: flex;
}

/* Pulse animation for quote button */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Disable parallax on mobile for performance */
    .hero-section {
        background-attachment: scroll;
    }
    
    /* Navigation adjustments */
    .nav-flex {
        padding: 0.6rem 1rem; /* Increased from 0.3rem */
    }
    
    .logo span {
        font-size: 2.4rem; /* Increased from 2.1rem */
        letter-spacing: 2px; /* Fixed typo - was 2rem */
    }
    
    nav ul {
        gap: 1.2rem; /* Increased from 1rem */
    }
    
    nav a {
        font-size: 1rem; /* Increased from 0.95rem */
    }

    /* Hero section mobile */
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-overlay {
        padding: 3rem 1.5rem 2rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0.5px;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-btn {
        font-size: 1.1rem;
        padding: 0.9rem 2rem;
    }

    /* Sections mobile */
    .section {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
        border-radius: 10px;
    }
    
    .section h2 {
        font-size: 1.9rem;
        margin-bottom: 1rem;
    }
    
    .section p {
        font-size: 1.05rem;
    }

    /* About section mobile */
    .about-flex {
        gap: 1.5rem;
    }
    
    .about-text h4 {
        font-size: 1.2rem;
        letter-spacing: 0.6px;
        margin: 1rem 0 0.5rem 0;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .about-columns {
        gap: 1rem;
    }
    
    .about-columns > div {
        padding: 1rem 0.8rem 0.6rem 0.8rem;
    }
    
    .about-list-highlight {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .about-list-highlight li {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }

    /* Products section mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .product-card {
        padding: 1.2rem 1rem;
    }
    
    .product-card img {
        height: 200px;
    }
    
    .product-card h3 {
        font-size: 1.1rem;
    }
    
    .product-card p {
        font-size: 0.95rem;
    }

    /* Gallery section mobile - 4x2 grid with smaller images */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .gallery-grid .gallery-img-wrap {
        aspect-ratio: 1/1; /* Square aspect ratio for smaller mobile view */
    }
    
    .gallery-grid img {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(35,45,58,0.08);
    }

    /* Contact section mobile */
    .contact-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.2rem 1rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 1rem 0.7rem 0.4rem 0.7rem;
        font-size: 0.95rem;
    }
    
    .contact-form label {
        font-size: 0.95rem;
        top: 1rem;
        left: 0.8rem;
    }
    
    .contact-form input:focus + label,
    .contact-form input:not(:placeholder-shown) + label,
    .contact-form textarea:focus + label,
    .contact-form textarea:not(:placeholder-shown) + label {
        font-size: 0.85rem;
        top: -0.6rem;
        left: 0.6rem;
    }
    
    .contact-info {
        font-size: 1rem;
        gap: 1rem;
    }
    
    .contact-info span {
        font-size: 1.2rem;
    }

    /* Footer mobile */
    footer {
        padding: 1.2rem 0 0.8rem 0;
        font-size: 0.8rem;
    }

    /* Container mobile */
    .container {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 0.3px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btn {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
    }
    
    .section {
        margin: 1.5rem 0.8rem;
        padding: 1.8rem 1.2rem;
    }
    
    .section h2 {
        font-size: 1.7rem;
    }
    
    .about-text h4 {
        font-size: 1.1rem;
    }
    
    /* Products section for extra small screens */
    .product-card img {
        height: 180px;
        object-fit: contain; /* Ensure no cropping on very small screens */
        background: #f8fafc;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }
    
    .gallery-grid .gallery-img-wrap {
        aspect-ratio: 1/1; /* Square aspect ratio for very small screens */
    }
    
    .gallery-grid img {
        border-radius: 6px;
    }
    
    .contact-form {
        padding: 1rem 0.8rem;
    }
    
    nav ul {
        gap: 0.8rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .logo span {
        font-size: 1.7rem; /* Increased from 1.4rem */
        letter-spacing: 1.2px; /* Added letter spacing */
    }
}

/* Mobile landscape adjustments */
@media (max-width: 900px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .section {
        margin: 1.5rem 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .section p {
        font-size: 1rem;
    }
    
    .about-text h4 {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 1rem 0.7rem;
    }
    
    nav ul {
        gap: 0.7rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .logo span {
        font-size: 1.7rem; /* Increased from 1.4rem */
        letter-spacing: 1.2px; /* Added letter spacing */
    }
}

/* Keep desktop layout as horizontal (one line) */
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Keep logo left, nav right on desktop */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo span {
    font-family: 'Dynamo MN', 'Oswald', Arial, sans-serif;
    font-weight: 700;
    font-size: 2.4rem; /* Increased from 2rem */
    letter-spacing: 2.5px; /* Increased from 2px */
    color: #1d1d1f;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 500;
    color: #1d1d1f; /* Darker text for light glass background */
    text-decoration: none;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    position: relative;
    padding: 0.25rem 0;
}

/* Mobile-only stacked layout */
@media (max-width: 768px) {
    .nav-flex {
        display: flex;
        flex-direction: column; /* Stack vertically on mobile only */
        align-items: center;
        justify-content: center;
        padding: 1rem 1rem 0.5rem 1rem; /* Increased padding */
        gap: 0.6rem; /* Increased gap */
    }
    
    .logo {
        margin-bottom: 0.4rem; /* Increased margin */
    }
    
    .logo span {
        font-size: 2.4rem; /* Increased from 2.1rem */
        letter-spacing: 2px; /* Increased from 1.8px */
    }
    
    nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav a {
        font-size: 0.95rem;
        padding: 0.3rem 0;
    }
}

@media (max-width: 480px) {
    .nav-flex {
        padding: 0.8rem 0.8rem 0.4rem 0.8rem; /* Increased padding */
    }
    
    .logo span {
        font-size: 2.1rem; /* Increased from 1.9rem */
        letter-spacing: 1.6px; /* Increased letter spacing */
    }
    
    nav ul {
        gap: 1rem; /* Increased from 0.8rem */
    }
    
    nav a {
        font-size: 0.95rem;
    }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */

/* Performance-first CSS animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Critical Performance Optimizations */
.hero-section,
.product-card,
.gallery-img-wrap,
.section {
    /* Use GPU acceleration only where needed */
    transform: translateZ(0);
    /* Contain paint for better performance */
    contain: layout style paint;
}

/* Reduce GPU usage on mobile */
@media (max-width: 768px) {
    .hero-section::before {
        animation: none !important; /* Disable particle animation on mobile */
    }
    
    .product-card,
    .gallery-img-wrap,
    .navbar {
        backdrop-filter: none !important; /* Disable backdrop-filter on mobile */
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.95) !important; /* Solid fallback */
    }
    
    /* Disable complex shadows on mobile */
    .product-card:hover,
    .gallery-grid .gallery-img-wrap:hover img {
        box-shadow: 0 4px 16px rgba(35,45,58,0.10) !important;
    }
}

/* Critical loading performance */
img {
    content-visibility: auto; /* Modern browsers only load visible images */
}

/* Font loading optimization */
@font-face {
    font-family: 'Dynamo MN';
    src: url('../assets/fonts/DynamoMN-Bold.woff2') format('woff2'),
         url('../assets/fonts/DynamoMN-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap; /* Prevent invisible text during font swap */
}

/* ==================== END PERFORMANCE OPTIMIZATIONS ==================== */

/* CACHE BUSTER Tue Jul 29 10:46:13 IST 2025 */
