/* 
  Design System for Hatcher
  Author: cvwebdesigner
  Pure CSS - No Frameworks
*/

:root {
    /* Colors */
    --primary: #EAB308;
    --primary-hover: #CA8A04;
    --primary-light: rgba(234, 179, 8, 0.1);
    
    --text-main: #1F2937;
    --text-muted: #6B7280;
    
    --bg-white: #FFFFFF;
    --bg-alt: #F9FAFB;
    
    --border: #E5E7EB;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-yellow: 0 0 20px -5px rgba(234, 179, 8, 0.3);
    
    /* Radius */
    --radius-full: 9999px;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.5rem; }

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hero Section Redesign */
.hero {
    padding: 160px 0 100px;
    background-color: var(--primary);
    background-image: url('images/hero-right.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 45%; /* Shows the image clearly on the right */
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.2rem);
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span::after {
    background-color: rgba(0, 0, 0, 0.1);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.05);
    color: #000;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 500;
    max-width: 700px;
    margin-left: 0;
}

.hero-btns {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
}

.hero-btns .btn-primary {
    background-color: #000;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-btns .btn-primary:hover {
    background-color: #222;
}

.hero-btns .btn-outline {
    border-color: #000;
    color: #000;
}

.hero-btns .btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-3xl);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.icon-circle {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

/* Product Section */
.bg-alt { background-color: var(--bg-alt); }

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-3xl);
    padding: 0; /* Removed padding to allow full-width image */
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-image-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--bg-alt);
    position: relative;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.product-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.btn-full {
    width: 100%;
    margin-top: auto;
}

/* Cart Item Image Adjustment */
.cart-item-img {
    width: 80px;
    height: 80px;
    background: var(--bg-alt);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quote-card {
    background: var(--bg-alt);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    position: relative;
}

.quote-card i {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.profit-calculator-cta {
    padding: 58px 0 54px;
    background: #f4f3f3;
    color: #000;
}

.profit-calculator-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    text-align: left;
}

.profit-calculator-cta h2 {
    max-width: 860px;
    margin: 0;
    color: #000;
    font-size: clamp(2rem, 4vw, 3.05rem);
    font-weight: 800;
    line-height: 1.08;
    text-align: left;
}

.profit-calculator-cta-button {
    flex: 0 0 auto;
    min-width: 236px;
    min-height: 50px;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    background: #000;
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
}

.profit-calculator-cta-button:hover {
    background: #181818;
    color: var(--primary);
    transform: translateY(-2px);
}

.profit-calculator-cta-button i {
    width: 20px;
    height: 20px;
    stroke-width: 2.4;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: #000;
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 { 
    color: #000; 
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.btn-dark {
    background-color: #000;
    color: #fff;
    padding: 1rem 2.5rem;
}

.btn-dark:hover {
    background-color: #222;
    transform: translateY(-2px);
    color: #fff;
}

/* Cart Sidebar (Drawer) */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--bg-white);
    z-index: 2001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.close-cart {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    background: var(--bg-alt);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 2px;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: #000;
}

.qty-val {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.remove-item-btn {
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.75rem;
    padding: 0.5rem 0;
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    width: fit-content;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
}

.cart-btn-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Utilities */
.mobile-only { display: none; }

/* Mobile Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    /* Header Responsive */
    .desktop-only { display: none !important; }
    .mobile-only { display: flex; align-items: center; justify-content: center; background: none; border: none; color: var(--text-main); cursor: pointer; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-btns { flex-direction: column; }
    .product-grid { grid-template-columns: 1fr; }
    .cart-drawer { width: 100%; right: -100%; }
    .profit-calculator-cta { padding: 44px 0; }
    .profit-calculator-cta-content {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }
    .profit-calculator-cta h2 {
        font-size: 2rem;
        line-height: 1.12;
        text-align: left;
    }
    .profit-calculator-cta-button {
        min-width: 0;
        width: 100%;
        white-space: normal;
    }

    /* Hero Responsive */
    .hero { 
        padding: 120px 0 60px; 
        text-align: center; 
        background-image: none; /* Remove background on mobile */
    }
    .hero h1 {
        font-size: 2rem; /* Reduce text size */
    }
    .hero .container { flex-direction: column; align-items: center; gap: 2rem; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-content { max-width: 100%; }
    .hero-btns { justify-content: center; flex-direction: column; }
    .hero-image-wrap { order: -1; justify-content: center; }
    .hero-image-wrap img { max-width: 100%; transform: none; }
}


/* Mobile Menu Drawer */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-menu-overlay.active {
    opacity: 1; visibility: visible;
}
.mobile-menu-drawer {
    position: fixed;
    top: 0; right: -100%; width: 300px; max-width: 80%; height: 100%;
    background: var(--bg-white);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex; flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}
.mobile-menu-drawer.active {
    right: 0;
}
.mobile-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem; border-bottom: 1px solid var(--border);
}
.close-menu {
    background: none; border: none; color: var(--text-muted); cursor: pointer;
}
.mobile-nav-links {
    list-style: none; padding: 1.5rem; flex-grow: 1; margin: 0;
}
.mobile-nav-links li {
    margin-bottom: 1.5rem;
}
.mobile-nav-links a {
    color: var(--text-main); font-weight: 600; font-size: 1.1rem;
}
.mobile-menu-footer {
    padding: 1.5rem; border-top: 1px solid var(--border);
}

/* Categories Ribbon */
.categories-section {
    padding: 40px 0 0;
    background: var(--bg-white);
}
.categories-ribbon {
    display: flex;
    justify-content: center;
    gap: 3rem;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    scrollbar-width: none;
}
.categories-ribbon::-webkit-scrollbar {
    display: none;
}
.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 80px;
}
.category-item:hover, .category-item.active {
    transform: translateY(-5px);
}
.category-item:hover .category-img-wrap, .category-item.active .category-img-wrap {
    border-color: var(--primary);
    box-shadow: var(--shadow-yellow);
}
.category-img-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-icon-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--text-muted);
    font-size: 1.5rem;
}
.category-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    transition: var(--transition);
}
.category-item.active .category-name {
    color: var(--primary);
}
/* Page helpers */
.is-hidden {
    display: none !important;
}

.theme-logo-spaced {
    margin-bottom: 1.5rem;
}

.theme-mobile-logo {
    height: 30px;
}

.theme-footer-link-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-icon-sm {
    width: 16px;
    height: 16px;
}

.theme-footer-credit {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.theme-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.theme-cart-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.theme-category-desc {
    font-size: 0.85rem;
}

.theme-empty-state {
    display: none;
    padding: 3rem;
    border-radius: var(--radius-2xl);
    background: var(--bg-alt);
    text-align: center;
}

.theme-empty-title {
    margin-bottom: 0.5rem;
}

.theme-checkout-more {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.theme-btn-full-center {
    width: 100%;
    justify-content: center;
}

.theme-grid-span-2 {
    grid-column: span 2;
}

.theme-product-description {
    margin-bottom: 1.5rem;
}

.theme-product-feature {
    margin-bottom: 0.75rem;
}

.theme-category-tag-inline {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
}
