/* Variables and Reset */
:root {
    --primary-color: #e65100;
    --primary-hover: #ff6d00;
    --secondary-color: #212121;
    --accent-color: #ffc107;
    --bg-dark: #0f0e0e;
    --bg-card: #1a1818;
    --text-primary: #f5f5f5;
    --text-secondary: #aaaaaa;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
    --whatsapp-color: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography Utility */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(230, 81, 0, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 14, 14, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.logo-gk {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2.2rem;
}

.logo-pickles {
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition-speed);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

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

.nav-links li a:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: background var(--transition-speed), transform var(--transition-speed);
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 60px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeIn 1s ease-out forwards;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #aaaaaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1::first-letter {
    color: var(--primary-color);
    -webkit-text-fill-color: initial;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #bf360c);
    color: white;
    box-shadow: 0 10px 20px rgba(230, 81, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(230, 81, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Image Container (Jar Mockup CSS Art) */
.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.hero-image-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230,81,0,0.4) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    animation: pulse 4s infinite alternate;
}

.jar-mockup {
    position: relative;
    width: 260px;
    height: 380px;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.jar-lid {
    width: 140px;
    height: 40px;
    background: linear-gradient(to right, #b08d57, #d4af37, #b08d57);
    margin: 0 auto;
    border-radius: 10px 10px 5px 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4), inset 0 2px 5px rgba(255,255,255,0.4);
}

.jar-body {
    width: 260px;
    height: 340px;
    background: linear-gradient(135deg, rgba(230,81,0,0.6) 0%, rgba(139,0,0,0.8) 100%);
    border-radius: 40px 40px 20px 20px;
    position: relative;
    box-shadow: inset -20px -20px 40px rgba(0,0,0,0.5), inset 20px 20px 40px rgba(255,255,255,0.2), 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

/* Inner pickle simulation */
.jar-body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 30% 30%, rgba(0,0,0,0.3) 10%, transparent 11%), radial-gradient(circle at 70% 60%, rgba(0,0,0,0.4) 15%, transparent 16%);
    background-size: 60px 60px;
    opacity: 0.3;
}

.jar-label {
    width: 160px;
    height: 120px;
    background: #fdfbf7;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid #d4af37;
    z-index: 2;
}

.jar-label h2 {
    font-size: 1.5rem;
    color: #8b0000;
    margin-bottom: 5px;
}

.jar-label p {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Products Section */
.products-section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all var(--transition-speed);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(230, 81, 0, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-speed);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    group: hover;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(230, 81, 0, 0.3);
}

.product-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #2a2626; /* fallback */
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10;
}

.tag-non-veg {
    background: #d32f2f;
    color: white;
}

.tag-veg {
    background: #388e3c;
    color: white;
}

.product-info {
    padding: 24px;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 40px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-add-cart {
    background: rgba(255,255,255,0.05);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-add-cart:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.btn-whatsapp-card {
    background: #25D366;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-speed);
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-whatsapp-card:hover {
    background: #1ebc5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Features Section */
.features-section, .reviews-section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform var(--transition-speed);
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: linear-gradient(145deg, var(--bg-card), #222);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.review-stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-author {
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
    transition: transform var(--transition-speed);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
}

/* Cart Drawer Modals & Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1101;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 1px solid rgba(255,255,255,0.05);
}

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

.cart-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.5rem;
}

.close-cart {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-speed);
}

.close-cart:hover {
    color: var(--primary-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 40px;
    font-style: italic;
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    gap: 15px;
    background: rgba(255,255,255,0.02);
    padding: 10px;
    border-radius: 10px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-weight: 600;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 800;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
}
.qty-btn:hover {
    background: var(--primary-color);
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.btn-checkout {
    width: 100%;
    margin-top: 10px;
    display: block;
}

/* UPI Section Styles */
.upi-payment-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid rgba(230, 81, 0, 0.3);
}

.upi-payment-section h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.upi-qr {
    background: white;
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 15px;
}

.upi-id {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Footer */
footer {
    background: #000;
    padding: 60px 5% 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 400px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    transition: color var(--transition-speed);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image-container {
        margin-top: 60px;
        transform: scale(0.8);
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}
@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}
