@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import 'variables.css';

/* Global Resets and Utilities */
html {
    background-color: var(--qb-orange);
}

body {
    font-family: var(--qb-font-family);
    background-color: var(--qb-bg-main);
    color: var(--qb-text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--qb-navy);
    line-height: 1.25;
    margin-bottom: 0.35rem;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.75rem, 3.5vw, 2.35rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.025rem; }
h6 { font-size: 0.9rem; }

p {
    margin-bottom: 0.5rem;
    color: #212529;
    font-size: 0.925rem;
}

a {
    color: var(--qb-orange);
    text-decoration: none;
    transition: color var(--qb-transition-fast);
}

a:hover {
    color: var(--qb-orange-hover);
    text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--qb-gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--qb-gray-300);
    border-radius: var(--qb-radius-pill);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--qb-gray-500);
}

/* Utilities */
.text-orange { color: var(--qb-orange) !important; }
.text-navy { color: var(--qb-navy) !important; }
.bg-orange { background-color: var(--qb-orange) !important; }
.bg-navy { background-color: var(--qb-navy) !important; }
.bg-orange-light { background-color: var(--qb-orange-light) !important; }

.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-extrabold { font-weight: 800 !important; }

.tracking-wide { letter-spacing: 0.05em !important; }

/* Pure Veg Indicator Icon (Official Indian Green Square-Dot Symbol) */
.veg-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border: 1.5px solid #16a34a;
    border-radius: 3px;
    background: #ffffff;
    flex-shrink: 0;
}
.veg-indicator-dot {
    width: 7px;
    height: 7px;
    background-color: #16a34a;
    border-radius: 50%;
}
.veg-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 2px 8px;
    border-radius: 999px;
}

/* Spacing and Layouts - Tightly optimized 20-28px sections */
.section-padding {
    padding-top: 1.5rem;   /* 24px */
    padding-bottom: 1.5rem; /* 24px */
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 1rem;    /* 16px */
        padding-bottom: 1rem; /* 16px */
    }
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 86, 153, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(249, 86, 153, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 86, 153, 0); }
}

.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0; /* Starts hidden until animation triggers */
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Adding helper classes */
.text-hover-orange:hover { color: var(--qb-orange) !important; }
.text-hover-white:hover { color: var(--qb-white) !important; }
.filter-white { filter: brightness(0) invert(1); }
.cursor-pointer { cursor: pointer; }
.hover-shadow-sm:hover { box-shadow: var(--qb-shadow-sm) !important; }
.hover-shadow-md:hover { box-shadow: var(--qb-shadow-md) !important; }

/* Focus Accessibility */
:focus-visible {
    outline: 2px solid var(--qb-orange);
    outline-offset: 2px;
}
