/* =========================================
   ENZI PACKAGING MASTER STYLESHEET
   100% RETAINED DESIGN + RESPONSIVE FIXES
   ========================================= */

/* 1. BASE RESET & ROOT STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body { 
    background-color: #fff; 
    color: #333; 
    overflow-x: hidden; 
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. TOP HEADER (Fixed Single Line & Responsive Stacking) */
.top-header {
    background: #1a1a1a;
    color: #fff;
    padding: 12px 0;
    font-size: 11px;
    border-bottom: 1px solid #333;
    width: 100%;
}

.top-header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; /* Allows wrapping on small screens */
    gap: 10px;
}

.top-contact { 
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap;
}

.top-contact span { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    color: #ccc; 
    white-space: nowrap; 
}

.top-links { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
}

.top-links a { 
    color: #fff; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    transition: 0.3s; 
    white-space: nowrap; 
}

.top-links a:hover { color: #aaa; }

/* 3. MAIN HEADER (Responsive Navigation) */
.main-header {
    background: #000;
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-text { 
    font-size: 26px; 
    font-weight: 800; 
    letter-spacing: 1px; 
    line-height: 1; 
    text-align: left; 
    flex-shrink: 0;
}

.logo-text span { 
    display: block; 
    font-size: 10px; 
    font-weight: 300; 
    letter-spacing: 4px; 
    color: #fff; 
    margin-top: 2px;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

nav ul { 
    display: flex; 
    list-style: none; 
    gap: 20px; 
    flex-wrap: wrap; 
    justify-content: center;
}

nav ul li a { 
    color: #fff; 
    text-decoration: none; 
    font-size: 13px; 
    font-weight: 400; 
    transition: 0.3s;
}

.search-box {
    background: #fff;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.search-box input { 
    border: none; 
    outline: none; 
    padding-right: 10px; 
    width: 150px; 
    font-size: 13px; 
}

.search-box i { color: #333; font-size: 14px; }

/* 4. FLOATING SOCIALS (Responsive Fixed Position) */
.floating-socials {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}

.floating-socials a {
    width: 44px;
    height: 44px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
    border: 1px solid #333;
}

.floating-socials a:hover { 
    transform: scale(1.1) translateX(-5px); 
    background: #333; 
}

/* 5. HERO SECTION & SLIDER DOTS */
.hero-slider-wrapper { position: relative; }

.hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 350px;
    background: #000;
}

.hero-pane {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: #fff;
}

.hero-pane::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.25);
}

.hero-pane h3 { position: relative; z-index: 2; font-size: 20px; font-weight: 700; line-height: 1.1; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active { background: #fff; width: 25px; border-radius: 5px; }

/* 6. FEATURED PRODUCTS */
.products-section { padding: 60px 0; }
.section-heading { font-size: 24px; font-weight: 700; margin-bottom: 35px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    border: 2px solid #000;
    padding: 15px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.product-image {
    height: 180px;
    background: #f8f8f8;
    margin-bottom: 20px;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

.product-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.product-card .price { font-size: 16px; font-weight: 800; margin-bottom: 20px; }

.view-btn {
    align-self: flex-end;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    font-size: 11px;
    text-transform: capitalize;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

/* 7. CUSTOMER REVIEWS (RETAINED 100%) */
.reviews-section {
    background-color: #f1f1f1;
    padding: 80px 0;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 25px;
}

.app-card {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.phone-frame {
    width: 120px;
    height: 220px;
    border: 3px solid #fff;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    margin-bottom: 25px;
}

.phone-frame::before {
    content: '';
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 30px; height: 4px; background: #fff; border-radius: 10px;
}

.phone-content h4 { font-size: 18px; line-height: 1.1; font-weight: 700; }
.phone-content p { font-size: 8px; margin-top: 5px; opacity: 0.8; }

.store-badges { display: flex; gap: 10px; margin-top: 10px; }

.badge {
    background: #000; border: 1px solid #444; padding: 5px 10px; border-radius: 4px;
    font-size: 10px; display: flex; align-items: center; gap: 5px;
}

.reviews-card { background: #fff; padding: 50px; border-radius: 12px; display: flex; flex-direction: column; }
.reviews-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 40px; }

.testimonial-flex { display: flex; gap: 50px; }
.testimonial-item { display: flex; gap: 20px; flex: 1; align-items: flex-start; }

.user-avatar { width: 55px; height: 55px; background: #444; border-radius: 50%; flex-shrink: 0; background-size: cover; }
.test-content .stars { color: #000; font-size: 12px; margin-bottom: 10px; }
.test-content p { font-size: 13px; color: #555; line-height: 1.6; }
.test-content .quote { font-size: 11px; margin-top: 15px; color: #999; }

/* 8. FOOTER SECTION (RETAINED 100%) */
footer {
    background: #000;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 { font-size: 24px; margin-bottom: 15px; }
.footer-logo p { font-size: 13px; color: #888; line-height: 1.8; margin-bottom: 20px; }

.footer-col h4 { font-size: 14px; margin-bottom: 25px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 30px; height: 2px; background: #fff; }

.footer-col ul { list-style: none; }
.footer-col ul li { font-size: 13px; color: #888; margin-bottom: 12px; transition: 0.3s; cursor: pointer; }
.footer-col ul li:hover { color: #fff; padding-left: 5px; }

.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { background: #111; border: 1px solid #333; padding: 12px; color: #fff; border-radius: 4px; font-size: 13px; }
.newsletter-form button { background: #fff; color: #000; border: none; padding: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; border-radius: 4px; }
.newsletter-form button:hover { background: #ccc; }

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #555;
}

.payment-icons { display: flex; gap: 15px; font-size: 20px; color: #333; }

/* 9. MEDIA QUERIES FOR ALL SCREEN SIZES */

@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    nav ul { gap: 10px; }
}

@media (max-width: 768px) {
    .top-header .container { justify-content: center; text-align: center; }
    .top-contact { width: 100%; justify-content: center; margin-bottom: 5px; }
    .top-links { width: 100%; justify-content: center; }

    .nav-wrapper { flex-direction: column; gap: 15px; }
    nav { margin: 10px 0; }
    .search-box { width: 100%; max-width: 400px; }

    .hero-grid { grid-template-columns: 1fr; height: auto; }
    .hero-pane { height: 200px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); }

    .reviews-layout { grid-template-columns: 1fr; }
    .testimonial-flex { flex-direction: column; gap: 30px; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .floating-socials { right: 10px; }
    .floating-socials a { width: 38px; height: 38px; font-size: 16px; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .logo-text { font-size: 22px; }
    .top-contact span { font-size: 10px; }
}