/* =========================================
   JMI Home Page Styles
   jmimportirtrading.com
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red-dark:   #7B0D1E;
    --red-main:   #C0392B;
    --red-bright: #E74C3C;
    --gold:       #D4AF37;
    --gold-light: #F7DC6F;
    --dark:       #1A1A2E;
    --dark-2:     #16213E;
    --gray-100:   #F8F9FA;
    --gray-200:   #E9ECEF;
    --gray-500:   #6C757D;
    --gray-700:   #495057;
    --white:      #FFFFFF;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:  0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg:  0 20px 60px rgba(0,0,0,0.18);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.65;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Highlight text */
.highlight { color: var(--red-main); }
.gold-text  { color: var(--gold); }

/* === HEADER / NAVBAR === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.site-header.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-bottom-color: var(--gray-200);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-logo {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--red-dark), var(--red-main));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(192,57,43,0.4);
    letter-spacing: 0.05em;
}
.brand-text { display: flex; flex-direction: column; }
.brand-pt   { font-size: 0.65rem; font-weight: 500; color: var(--gray-500); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; }
.brand-name { font-size: 0.95rem; font-weight: 700; color: var(--dark); letter-spacing: -0.01em; line-height: 1.3; }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--red-main);
    background: rgba(192,57,43,0.07);
}
.nav-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    margin-left: 0.5rem;
    background: linear-gradient(135deg, var(--red-main), var(--red-bright));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(192,57,43,0.35);
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(192,57,43,0.45); }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 0.25rem;
}
.hamburger span {
    display: block; width: 26px; height: 2px;
    background: var(--dark); border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO SLIDER === */
.hero-section { padding-top: 76px; }
.heroSwiper { height: 90vh; min-height: 550px; }
.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.hero-fallback {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-main) 60%, #922B21 100%);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,5,5,0.75) 0%, rgba(10,5,5,0.35) 60%, transparent 100%);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 680px;
}
.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(212,175,55,0.2);
    border: 1px solid rgba(212,175,55,0.5);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.25rem;
    background: linear-gradient(135deg, var(--red-main), var(--red-bright));
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition);
    box-shadow: 0 8px 25px rgba(192,57,43,0.5);
}
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(192,57,43,0.6); background: linear-gradient(135deg, var(--red-bright), var(--red-main)); }
.swiper-pagination-bullet { background: var(--white) !important; opacity: 0.6; }
.swiper-pagination-bullet-active { opacity: 1 !important; width: 28px !important; border-radius: 4px !important; background: var(--gold) !important; }
.swiper-button-prev, .swiper-button-next { color: var(--white) !important; }

/* === CATEGORY BAR === */
.category-bar {
    background: var(--white);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.cat-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.cat-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    text-decoration: none;
    border-radius: 16px;
    border: 2px solid transparent;
    background: var(--gray-100);
    transition: all var(--transition);
    gap: 0.5rem;
}
.cat-bar-item:hover {
    border-color: var(--red-main);
    background: rgba(192,57,43,0.04);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.cat-icon {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--red-main), var(--red-bright));
    border-radius: 50%;
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: 0 6px 16px rgba(192,57,43,0.3);
}
.cat-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
}
.cat-desc { font-size: 0.8rem; color: var(--gray-500); line-height: 1.4; }

/* === SECTION COMMONS === */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red-main);
    margin-bottom: 0.75rem;
}
.section-label.light { color: var(--gold-light); }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }
.section-sub {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header.light { text-align: center; }

/* === ABOUT SECTION === */
.about-section {
    padding: 6rem 0;
    background: var(--gray-100);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-visual-inner {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.about-badge-float {
    display: flex; align-items: center; gap: 1rem;
    background: var(--gold);
    color: var(--dark);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}
.about-badge-float strong { display: block; font-size: 1.4rem; font-weight: 800; }
.about-badge-float span { font-size: 0.85rem; font-weight: 500; opacity: 0.8; }
.about-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.about-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}
.about-stat .num { display: block; font-size: 2rem; font-weight: 800; color: var(--white); }
.about-stat .lbl { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.about-desc { font-size: 1rem; color: var(--gray-500); margin-bottom: 1.5rem; line-height: 1.7; }
.about-features { list-style: none; margin-bottom: 2rem; }
.about-features li {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
}
.about-features li:last-child { border-bottom: none; }
.about-features li i { color: var(--red-main); font-size: 1rem; flex-shrink: 0; }
.cta-btn-outline {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.85rem 2rem;
    border: 2px solid var(--red-main);
    color: var(--red-main);
    font-weight: 600; font-size: 0.95rem;
    text-decoration: none; border-radius: 50px;
    transition: all var(--transition);
}
.cta-btn-outline:hover { background: var(--red-main); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(192,57,43,0.3); }

/* === BIZ SPLIT SECTION === */
.biz-section { display: block; }
.biz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 500px;
}
.biz-card {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    min-height: 450px;
}
.biz-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,5,5,0.2) 0%, rgba(10,5,5,0.8) 100%);
    transition: all var(--transition);
}
.biz-card:hover .biz-overlay { background: linear-gradient(180deg, rgba(192,57,43,0.3) 0%, rgba(10,5,5,0.92) 100%); }
.biz-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2rem;
    color: var(--white);
    transform: translateY(60px);
    transition: all var(--transition);
}
.biz-card:hover .biz-content { transform: translateY(0); }
.biz-icon {
    width: 52px; height: 52px;
    background: var(--red-main);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(192,57,43,0.5);
}
.biz-content h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.biz-content p { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: 1rem; line-height: 1.6; opacity: 0; transition: opacity var(--transition) 0.1s; }
.biz-card:hover .biz-content p { opacity: 1; }
.biz-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--gold-light); font-size: 0.9rem; font-weight: 600;
    text-decoration: none; transition: gap var(--transition);
}
.biz-link:hover { gap: 0.8rem; }

/* === PRODUCTS SECTION === */
.products-section { padding: 6rem 0; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(192,57,43,0.2); }
.product-img {
    position: relative;
    height: 220px;
    background: var(--gray-100);
    overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder {
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--gray-200);
    background: linear-gradient(135deg, #f5f5f5, #efefef);
}
.product-cat-badge {
    position: absolute; top: 0.75rem; left: 0.75rem;
    background: var(--red-main);
    color: var(--white);
    font-size: 0.7rem; font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.product-body { padding: 1.25rem; }
.product-body h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; line-height: 1.3; }
.product-body p { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 0.75rem; line-height: 1.5; }
.product-price { font-size: 1rem; font-weight: 700; color: var(--red-main); margin-bottom: 0.75rem; }
.product-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--red-main); font-size: 0.85rem; font-weight: 600;
    text-decoration: none; transition: gap var(--transition);
}
.product-link:hover { gap: 0.7rem; }
.section-cta { text-align: center; }
.cta-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--red-main), var(--red-bright));
    color: var(--white); font-size: 1rem; font-weight: 600;
    text-decoration: none; border-radius: 50px;
    box-shadow: 0 8px 25px rgba(192,57,43,0.4);
    transition: all var(--transition);
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(192,57,43,0.5); }
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; display: block; color: var(--gray-200); }

/* === WHY SECTION === */
.why-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}
.why-card:hover {
    background: rgba(192,57,43,0.15);
    border-color: rgba(192,57,43,0.3);
    transform: translateY(-6px);
}
.why-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--red-main), var(--red-bright));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--white);
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px rgba(192,57,43,0.4);
}
.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.why-card p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* === CONTACT SECTION === */
.contact-section {
    padding: 6rem 0;
    background: var(--gray-100);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.contact-items { margin: 1.5rem 0 2rem; }
.contact-item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--red-main), var(--red-bright));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1rem;
}
.contact-item strong { display: block; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 0.1rem; }
.contact-item span { font-size: 0.95rem; color: var(--dark); font-weight: 500; }
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-btn {
    width: 42px; height: 42px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-700); font-size: 1rem;
    text-decoration: none; transition: all var(--transition);
}
.social-btn:hover { background: var(--red-main); color: var(--white); border-color: var(--red-main); transform: translateY(-3px); }
.social-btn.wa:hover { background: #25D366; border-color: #25D366; }

.contact-form-wrap {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.35rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--gray-100);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--red-main); background: var(--white); box-shadow: 0 0 0 3px rgba(192,57,43,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--red-main), var(--red-bright));
    color: var(--white); font-size: 1rem; font-weight: 600;
    border: none; border-radius: 12px;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: all var(--transition);
    box-shadow: 0 6px 20px rgba(192,57,43,0.35);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(192,57,43,0.45); }
.form-note { margin-top: 0.75rem; font-size: 0.9rem; text-align: center; min-height: 1.2em; }

/* === FOOTER === */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--red-main), var(--red-bright));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 900; font-size: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-tagline { font-size: 0.85rem; font-weight: 600; color: var(--gold-light); margin-bottom: 0.75rem; }
.footer-about  { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-col h5 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; font-size: 0.85rem; }
.footer-contact li i { color: var(--red-main); margin-top: 0.15rem; flex-shrink: 0; }
.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.5rem;
    font-size: 0.82rem; color: rgba(255,255,255,0.3);
}

/* === SCROLL ANIMATIONS === */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .biz-grid { grid-template-columns: 1fr; }
    .biz-card { min-height: 320px; }
    .biz-content { transform: translateY(0); }
    .biz-content p { opacity: 1; }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 76px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
        gap: 0.25rem;
    }
    .main-nav.open { display: flex; }
    .hamburger { display: flex; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-content { max-width: 100%; }
    .heroSwiper { height: 75vh; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
