/* =============================================
   SHREE PANDIT JI FOODS - WORDPRESS CUSTOM STYLESHEET
   Pure Taste, Pure Tradition
   Ported for WordPress + Elementor
   ============================================= */

/* CSS Variables */
:root {
    --saffron: #D4742C;
    --saffron-light: #E8A45C;
    --gold: #C9A227;
    --gold-light: #E6D085;
    --burgundy: #6B2D3C;
    --burgundy-deep: #4A1F2A;
    --cream: #FDF8F3;
    --cream-dark: #F5EDE3;
    --pistachio: #93B06C;
    --rose: #D4A5A5;
    --charcoal: #2C2420;
    --brown-light: #8B7355;
    --white: #ffffff;
    --logo-red: #eb3934
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    overflow-x: hidden;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

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

/* Decorative Pattern Background */
.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30M15 15L45 45M45 15L15 45' stroke='%236B2D3C' stroke-width='1' fill='none'/%3E%3Ccircle cx='30' cy='30' r='8' stroke='%236B2D3C' stroke-width='1' fill='none'/%3E%3C/svg%3E");
}

/* WordPress Admin Bar Compatibility */
body.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
header {
    position: fixed!important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.4rem 4rem;
    transition: all 0.4s ease;
    background: rgba(253, 248, 243, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(107, 45, 60, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo-img {
    height: 75px;
    width: auto;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--logo-red);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.logo-tagline {
    font-size: .8rem;
    color: var(--saffron);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    position: relative;
    transition: color 0.3s ease;
    color: var(--charcoal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--saffron), var(--logo-red));
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--logo-red);
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--saffron), var(--logo-red));
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(107, 45, 60, 0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(107, 45, 60, 0.35);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--burgundy);
    transition: all 0.3s ease;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    background: linear-gradient(135deg, var(--saffron), var(--logo-red));
    color: var(--white);
    padding: .6rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(212, 116, 44, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 116, 44, 0.4);
}

.btn-primary .button-icon img {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.btn-primary.btn-white .button-icon img{
    -webkit-filter: none;
    filter: none;
}

.btn-secondary {
    background: transparent;
    color: var(--burgundy);
    padding: .6rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    border: 2px solid var(--burgundy);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--burgundy);
    color: var(--white);
}

.button-icon img {
    width: 30px;
    height: 30px;
}

.btn-white {
    background: var(--white);
    color: var(--saffron);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--saffron);
}

.btn-outline-white .button-icon img {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.btn-outline-white:hover .button-icon img {
    -webkit-filter: none;
    filter: none;
}

/* =============================================
   SECTION STYLES
   ============================================= */
.section {
    padding: 6rem 4rem;
}

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

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--saffron-light), var(--gold-light));
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--brown-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* =============================================
   ELEMENTOR COMPATIBILITY
   ============================================= */
.elementor-widget-container .spjf-menu-item,
.elementor-widget-container .spjf-testimonial,
.elementor-widget-container .spjf-location-card,
.elementor-widget-container .spjf-feature-card,
.elementor-widget-container .spjf-specialty-card,
.elementor-widget-container .spjf-stat-item {
    width: 100%;
}

/* Ensure Elementor sections don't override our custom styles */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1400px;
}

/* =============================================
   CUSTOM WIDGET STYLES
   ============================================= */

/* Menu Item Widget */
.spjf-menu-item {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(107, 45, 60, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.spjf-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(107, 45, 60, 0.12);
}

.spjf-menu-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--burgundy);
}

/* Testimonial Widget */
.spjf-testimonial {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(107, 45, 60, 0.08);
    position: relative;
}

.spjf-testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    color: var(--cream-dark);
    line-height: 1;
}

.spjf-testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.spjf-testimonial-text {
    color: var(--charcoal);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.spjf-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spjf-testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--saffron-light), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--burgundy);
}

.spjf-testimonial-author h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--burgundy);
}

.spjf-testimonial-author p {
    font-size: 0.8rem;
    color: var(--brown-light);
}

/* Location Card Widget */
.spjf-location-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(107, 45, 60, 0.08);
    display: grid;
    grid-template-columns: 200px 1fr;
}

.spjf-location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 250px;
}

.spjf-location-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spjf-location-badge {
    display: inline-block;
    background: var(--pistachio);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    width: fit-content;
}

.spjf-location-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 0.8rem;
}

.spjf-location-content p {
    color: var(--brown-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.spjf-location-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--charcoal);
}

.spjf-location-info span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Feature Card Widget */
.spjf-feature-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(107, 45, 60, 0.08);
    transition: all 0.4s ease;
}

.spjf-feature-card:hover {
    transform: translateY(-10px)!important;
    box-shadow: 0 20px 60px rgba(107, 45, 60, 0.15);
}

.spjf-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--saffron-light), var(--logo-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.spjf-feature-icon img {
    height: 60px;
    width: 60px;
}

.spjf-feature-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 0.8rem;
}

.spjf-feature-card p {
    color: var(--brown-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Specialty Card Widget */
.spjf-specialty-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(107, 45, 60, 0.08);
    transition: all 0.4s ease;
}

.spjf-specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(107, 45, 60, 0.15);
}

.spjf-specialty-image {
    width: 100%;
    height: 220px!important;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.spjf-specialty-card:hover .spjf-specialty-image {
    transform: scale(1.05);
}

.spjf-specialty-content {
    padding: 1.8rem;
}

.spjf-specialty-tag {
    display: inline-block;
    background: var(--cream-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--saffron);
    margin-bottom: 0.8rem;
}

.spjf-specialty-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
}

.spjf-specialty-content p {
    color: var(--brown-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Stat Item Widget */
.spjf-stat-item {
    text-align: center;
    color: var(--white);
    background: #00000033;
    padding: 20px;
    border: 2px solid #4a192569;
    border-radius: 15px;
}

.spjf-stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--cream-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.spjf-stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
    align-items: center;
    display: flex;
    justify-content: center;
}

.spjf-stat-label .button-icon img {
    width: 30px;
    height: 30px;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */
@media (max-width: 1200px) {
    .spjf-location-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    header {
        padding: 0.8rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .section {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .spjf-location-card {
        grid-template-columns: 1fr;
    }

    .spjf-location-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.8rem 1rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 45px;
    }

    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .section {
        padding: 3rem 1rem;
    }
}
