/*
Theme Name: Kamaira Theme
Author: Kamaira
Version: 3.0.0
*/

/* --- Global Reset --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #0f172a; background: #f8fafc; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Topbar --- */
.topbar { background: #022c22; color: #a7f3d0; font-size: 12px; font-weight: 700; padding: 8px 0; text-align: center; }
.topbar-inner { display: flex; justify-content: center; align-items: center; gap: 12px; }
.topbar-divider { color: #059669; }

/* --- Sleek Header --- */
.site-header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; padding: 14px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand-logo { display: flex; flex-direction: column; }
.logo-main { font-size: 24px; font-weight: 900; color: #064e3b; letter-spacing: 2px; line-height: 1; }
.logo-sub { font-size: 9px; font-weight: 800; color: #d97706; letter-spacing: 1px; }

/* Header Search */
.header-search-wrap { flex: 1; max-width: 380px; }
.search-box { display: flex; background: #f1f5f9; border-radius: 50px; padding: 4px 6px 4px 16px; border: 1px solid #cbd5e1; }
.search-box input { border: none; background: transparent; width: 100%; outline: none; font-size: 13px; }
.search-box button { border: none; background: #064e3b; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }

/* Navigation */
.nav-menu { display: flex; gap: 20px; font-weight: 700; font-size: 14px; }
.nav-menu a:hover { color: #d97706; }

/* Cart Button */
.cart-pill-3d { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: #fff; padding: 8px 16px; border-radius: 50px; display: flex; align-items: center; gap: 8px; font-weight: 800; box-shadow: 0 6px 12px rgba(217, 119, 6, 0.3); }
.cart-badge { background: #064e3b; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; }

/* --- Hero 3D Stage --- */
.hero-3d-section { background: linear-gradient(135deg, #011913 0%, #064e3b 100%); color: #fff; padding: 60px 0; overflow: hidden; }
.hero-3d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-pill { display: inline-block; background: rgba(245, 158, 11, 0.2); border: 1px solid #f59e0b; color: #fef3c7; font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 50px; margin-bottom: 16px; }
.hero-text-col h1 { font-size: 42px; font-weight: 900; line-height: 1.2; margin-bottom: 16px; }
.hero-text-col p { font-size: 16px; color: #a7f3d0; margin-bottom: 24px; }
.hero-cta-group { display: flex; gap: 14px; }
.btn-3d-primary { background: #f59e0b; color: #fff; padding: 14px 28px; border-radius: 8px; font-weight: 800; border-bottom: 3px solid #b45309; }
.btn-3d-glass { background: rgba(255,255,255,0.1); color: #fff; padding: 14px 24px; border-radius: 8px; font-weight: 700; border: 1px solid rgba(255,255,255,0.2); }

/* --- 3D Gadget Stage (Fits Screen Perfectly) --- */
.hero-stage-col { perspective: 1000px; display: flex; justify-content: center; }
.stage-3d-container { position: relative; width: 100%; max-width: 420px; height: 340px; }

.gadget-3d-card { 
    position: absolute; 
    inset: 0; 
    background: rgba(255, 255, 255, 0.08); 
    backdrop-filter: blur(12px); 
    border: 2px solid rgba(255, 255, 255, 0.2); 
    border-radius: 20px; 
    padding: 16px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
    opacity: 0; 
    transform: rotateY(-15deg) rotateX(10deg) scale(0.9); 
    animation: cycle3dCards 12s infinite ease-in-out; 
}

/* Image containment prevents image clipping */
.gadget-img-frame { width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; }
.gadget-img-frame img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }

.gadget-3d-tag { margin-top: 12px; background: rgba(2, 44, 34, 0.9); color: #f59e0b; padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 800; border: 1px solid #d97706; }

/* Keyframe timings */
.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: 4s; }
.card-3 { animation-delay: 8s; }

@keyframes cycle3dCards {
    0% { opacity: 0; transform: rotateY(-20deg) rotateX(10deg) scale(0.85); }
    5% { opacity: 1; transform: rotateY(-5deg) rotateX(2deg) scale(1); }
    33% { opacity: 1; transform: rotateY(0deg) rotateX(0deg) scale(1); }
    38% { opacity: 0; transform: rotateY(15deg) rotateX(-10deg) scale(0.9); }
    100% { opacity: 0; }
}

/* --- Category Tiles --- */
.categories-section { padding: 60px 0; background: #fff; }
.section-title-wrap { text-align: center; margin-bottom: 30px; }
.section-title-wrap h2 { font-size: 28px; font-weight: 900; color: #064e3b; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cat-tile { position: relative; height: 220px; border-radius: 14px; overflow: hidden; display: block; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile-info { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(1, 25, 19, 0.9) 100%); padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.cat-tile-info h3 { font-size: 20px; font-weight: 800; }
.cat-tile-info span { font-size: 12px; color: #f59e0b; font-weight: 700; }

/* Products Grid */
.products-section { padding: 60px 0; }

/* --- Clean Footer --- */
.site-footer { background: #011913; color: #a7f3d0; padding-top: 60px; margin-top: 60px; border-top: 4px solid #f59e0b; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer-col h3 { color: #fff; font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; font-size: 13px; }
.footer-col ul a:hover { color: #fff; }
.pay-badge { display: block; background: rgba(6, 78, 59, 0.5); padding: 8px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 6px; border: 1px solid #064e3b; }
.footer-bottom { background: #000c09; text-align: center; padding: 16px 0; font-size: 12px; color: #6ee7b7; border-top: 1px solid #064e3b; }

@media (max-width: 768px) {
    .header-inner, .hero-3d-grid, .footer-inner { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
    .nav-menu, .header-search-wrap { display: none; }
}
/* --- Order Tracking Form Styling --- */
.track_order {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #011913;
    border: 1px solid #064e3b;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.track_order p {
    margin-bottom: 16px;
    color: #a7f3d0;
    font-size: 14px;
}

.track_order .form-row {
    margin-bottom: 20px;
}

.track_order label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #f59e0b;
}

.track_order input.input-text {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #064e3b;
    background: #022c22;
    color: #fff;
    outline: none;
}

.track_order input.input-text:focus {
    border-color: #f59e0b;
}

.track_order .button {
    background: #f59e0b;
    color: #011913;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.track_order .button:hover {
    background: #d97706;
}