/* --- GLOBAL PREMIUM FONTS & SETUP --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; color: #222; }

/* --- NAVIGATION & HEADER --- */
header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    text-decoration: none;
    font-size: 1.3rem; 
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span { color: #fff; }

nav ul { list-style: none; display: flex; gap: 25px; }
nav ul li a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: color 0.3s ease; }
nav ul li a:hover, nav ul li a.active { color: #d4af37; }

/* --- BUTTONS --- */
.btn-primary {
    background-color: #d4af37;
    color: #1a1a1a;
    padding: 12px 30px;
    font-size: 0.95rem; 
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-primary:hover { background-color: #f1c40f; transform: translateY(-2px); }

.btn-secondary {
    display: inline-block;
    padding: 8px 16px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem; 
    transition: background 0.3s ease, color 0.3s ease;
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover { background: #d4af37; color: #1a1a1a; }

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover { transform: translateY(-5px) scale(1.05); box-shadow: 2px 8px 20px rgba(0,0,0,0.3); }

/* --- HERO BANNER CAROUSEL --- */
.hero-slider-container {
    position: relative;
    max-width: 1200px; 
    margin: 30px auto; 
    border-radius: 12px; 
    height: 500px;
    overflow: hidden;
    background-color: #1a1a1a;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    z-index: 1;
}

.hero-slide.active { opacity: 1; z-index: 2; }
.hero-content { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 4; text-align: center; width: 100%; }

/* --- APPLICATION AREAS --- */
.applications { padding: 60px 20px; background: #f4f7f6; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.app-card { background: #fff; border-radius: 8px; text-align: center; border-bottom: 3px solid #d4af37; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: transform 0.3s ease; overflow: hidden; }
.app-card:hover { transform: translateY(-5px); }
.app-image { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; margin-bottom: 20px; background-color: #eaeaea; }
.app-text-area { padding: 0 20px 25px 20px; }
.app-text-area h3 { margin-bottom: 10px; font-size: 1.15rem; color: #1a1a1a; }
.app-text-area p { font-size: 0.9rem; color: #666; }

/* --- CATALOG FILTERS & GRID --- */
.catalog-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.filter-bar { background: #fff; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-bottom: 30px; border: 1px solid #eaeaea; }
.filter-group { display: flex; align-items: center; gap: 10px; }
.filter-group label { font-weight: 600; color: #333; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; }
.filter-group select { padding: 8px 12px; border: 1px solid #ccc; border-radius: 4px; font-family: 'Open Sans', sans-serif; font-size: 0.9rem; outline: none; background: #fdfdfd; min-width: 180px; }
.filter-group select:focus { border-color: #d4af37; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }

/* --- PRODUCT CAROUSEL --- */
.featured-showcase { padding: 60px 20px; background: #fff; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 1.8rem; }
.section-header p { font-size: 0.95rem; color: #555; margin-top: 10px; }
.carousel-container { position: relative; max-width: 1200px; margin: 0 auto; padding: 20px 40px; }
.carousel-wrapper { overflow: hidden; width: 100%; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; gap: 30px; }
.carousel-slide { min-width: calc(25% - 22.5px); flex-shrink: 0; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: #1a1a1a; color: #d4af37; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; z-index: 10; transition: background 0.3s ease, transform 0.2s ease; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.carousel-arrow:hover { background: #d4af37; color: #1a1a1a; transform: translateY(-50%) scale(1.1); }
.arrow-left { left: 0; }
.arrow-right { right: 0; }

.product-card { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: #d4af37; }
.card-image-wrapper { height: 220px; display: flex; align-items: center; justify-content: center; background: #fdfdfd; padding: 15px; border-bottom: 1px solid #eee; overflow: hidden; }
.card-image-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.product-card:hover .card-image-wrapper img { transform: scale(1.08); }
.card-content { padding: 20px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.brand-badge { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: #777; margin-bottom: 8px; font-weight: 600; }
.card-content h3 { font-size: 1rem; margin-bottom: 15px; color: #222; }
.card-spec-snippet { font-size: 0.8rem; color: #555; margin-bottom: 15px; text-align: left; background: #fdfdfd; padding: 10px; border-left: 3px solid #d4af37; border-radius: 0 4px 4px 0; }

/* --- SHARED PAGE HEADERS (Catalog, About, Contact) --- */
.page-header { background-color: #2c3e50; color: #fff; padding: 60px 20px; text-align: center; }
.page-header h1 { font-size: 2.2rem; color: #fff; margin-bottom: 10px; }
.page-header p { font-size: 1.05rem; color: #ddd; max-width: 700px; margin: 0 auto; }

/* --- ABOUT & CONTACT LAYOUTS --- */
.content-container {
    max-width: 1200px; margin: 60px auto; padding: 0 20px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start;
}
.text-block h2 { font-size: 1.8rem; margin-bottom: 20px; color: #1a1a1a; border-bottom: 2px solid #d4af37; padding-bottom: 5px; display: inline-block; }
.text-block h3 { font-size: 1.3rem; margin-top: 25px; margin-bottom: 10px; color: #2c3e50; }
.text-block p { margin-bottom: 15px; color: #555; font-size: 1.05rem; }
.text-block ul { margin-left: 20px; margin-bottom: 15px; color: #555; }
.text-block li { margin-bottom: 8px; font-size: 1.05rem; }
.about-image { width: 100%; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.contact-form { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-top: 4px solid #d4af37; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-family: 'Open Sans', sans-serif; }
.form-group textarea { resize: vertical; height: 120px; }

/* --- PRODUCT DETAIL LAYOUTS --- */
.product-detail-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.gallery-main {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; }
.gallery-thumbnails img {
    width: 80px; height: 80px; object-fit: contain; background: #fff;
    border: 1px solid #eaeaea; border-radius: 4px; padding: 5px;
    cursor: pointer; transition: border-color 0.3s ease, transform 0.2s ease;
}
.gallery-thumbnails img:hover, .gallery-thumbnails img.active { border-color: #d4af37; transform: translateY(-2px); }
.product-info h1 { font-size: 2.2rem; margin-bottom: 15px; line-height: 1.2; color: #1a1a1a;}
.product-description { font-size: 1.05rem; color: #555; margin-bottom: 30px; }
.specs-list { list-style: none; margin-bottom: 40px; }

/* --- THE FIX: Sleek Minimalist Gold Dot replacing the checkmark --- */
.specs-list li { padding: 12px 0; border-bottom: 1px solid #eaeaea; color: #333; display: flex; align-items: flex-start; }
.specs-list li::before { 
    content: ''; 
    width: 6px; 
    height: 6px; 
    background-color: #d4af37; 
    border-radius: 50%; 
    margin-top: 8px; 
    margin-right: 15px; 
    display: inline-block; 
    flex-shrink: 0; 
}

.btn-quote {
    display: inline-block; background: #d4af37; color: #1a1a1a;
    padding: 15px 35px; font-size: 1.1rem; font-weight: 700;
    text-decoration: none; border-radius: 5px; font-family: 'Montserrat', sans-serif;
    transition: background 0.3s ease, transform 0.2s ease;
}
.btn-quote:hover { background: #1a1a1a; color: #d4af37; transform: translateY(-2px); }

/* --- FOOTER --- */
footer { background-color: #1a1a1a; color: #aaa; text-align: center; padding: 30px 20px; border-top: 3px solid #d4af37; }

/* =========================================
   EXTREME MOBILE RESPONSIVENESS (PHONES)
   ========================================= */
@media (max-width: 900px) { 
    .carousel-slide { min-width: calc(50% - 15px); } 
}

@media (max-width: 768px) {
    .nav-container { flex-direction: column; padding: 15px 10px; gap: 12px; }
    .logo { font-size: 1.2rem; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; width: 100%; }
    nav ul li a { font-size: 0.85rem; padding: 5px; }

    .hero-slider-container { height: 350px; margin: 15px 10px; border-radius: 8px; }
    .hero-content { bottom: 20px; width: 90%; }
    .hero-content h1 { font-size: 1.6rem; margin-bottom: 10px; }
    .hero-content p { display: none; }
    .btn-primary { padding: 10px 20px; font-size: 0.9rem; width: 100%; max-width: 250px; }

    .applications { padding: 40px 15px; }
    .app-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .carousel-container { padding: 10px 20px; }
    .carousel-arrow { width: 35px; height: 35px; font-size: 1.2rem; }
    
    .filter-bar { flex-direction: column; align-items: stretch; padding: 20px; }
    .filter-group { flex-direction: column; align-items: flex-start; width: 100%; }
    .filter-group select { width: 100%; }
    #result-count { text-align: left !important; margin-top: 10px; }
    
    .page-header { padding: 40px 15px; }
    .page-header h1 { font-size: 1.8rem; }
    .content-container { grid-template-columns: 1fr; gap: 40px; margin: 40px auto; padding: 0 15px; }
    
    .product-detail-container { grid-template-columns: 1fr; gap: 30px; margin: 30px auto; padding: 0 15px; }
    .gallery-main { height: 300px; }
    .product-info h1 { font-size: 1.8rem; }

    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .whatsapp-float svg { width: 30px; height: 30px; }
}

@media (max-width: 600px) { 
    .carousel-slide { min-width: 100%; } 
}