/* assets/css/style.css */

:root {
    --primary:       #f72e42;      /* warm indian red */
    --primary-soft:  #ef5350;
    --accent:        #f57c00;      /* turmeric / masala hint */
    --bg-cooked:     #fdfaf5;      /* very light warm roti / rice tone */
    --card:          #ffffff;
    --text:          #212121;
    --muted:         #757575;
	--success:       #19b524;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-cooked);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/*--------------------*/

body.bg-cooked {
   /* background:
        linear-gradient(
            to bottom, 
            rgba(253, 250, 245, 0) 350px, 
            rgba(253, 250, 245, 1) 500px
        ), 
        url('../img/veggie.webp');
	*/	
		
    background-color: rgb(253, 250, 245); /* Base page color */
	/* background-color:rgb(252 237 211);
  
    /* Use 'cover' to prevent stretching if you prefer the image to look natural */
    /* background-size: cover; */ 

    font-family: 'Poppins', sans-serif;
    color: var(--text);
}
/*--------------------*/


/*--------NAV Menu Start----------*/
/* Header becomes fixed so content starts below it */
.theme-colour{
	color: var(--primary) !important;
}
.brand-header.fixed-top {
    z-index: 1030;
}

/* Hover effect for desktop links */
.hover-primary:hover {
    color: var(--primary) !important;
    transition: color 0.2s ease;
}

/* Make offcanvas look premium */
.offcanvas {
    width: 80% !important; /* or 300px max-width */
    max-width: 320px;
}

.offcanvas-body a {
    transition: padding-left 0.25s;
}

.offcanvas-body a:hover {
    padding-left: 12px;
    color: var(--primary) !important;
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px;
    right: 6px;
    background-color: #25D366;
    color: #fff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    transform: scale(1.1);
    background-color: #20b358;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/*--------NAV Menu End----------*/

main {
    //padding: 1rem 1rem 6rem;
}

.bg-cooked { background: var(--bg-cooked); }

.shadow-up {
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}

.nav-bottom {
    height: 70px;
    border-top: 1px solid #e0e0e0;
}

.nav-bottom .nav-link {
    color: var(--muted);
    padding: 0.25rem 0.5rem;
}

.nav-bottom .nav-link.active {
    color: var(--primary);
    font-weight: 500;
}

.card {
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.card-img-top {
    height: 160px;
    object-fit: cover;
}

.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 3rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--primary-soft);
}

/* Safe area for notched phones */
.safe-area-top {
    height: env(safe-area-inset-top);
    background: var(--bg-cooked);
}

/* For very small phones - reduce padding */
@media (max-width: 360px) {
    main { padding: 0.75rem 0.75rem 7rem; }
    .card-img-top { height: 140px; }
}




/* Improve desktop experience without hurting mobile */

.login-card {
    border-radius: 1.5rem !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
}

@media (min-width: 992px) {  /* lg breakpoint and up */
    .login-card {
        border-radius: 2rem !important;
    }
    .card-body {
        padding: 2rem 2rem !important;
    }
    h2.fs-1 {
        font-size: 2.8rem !important;
    }
    .form-control-lg {
        font-size: 1.2rem;
        height: 3.8rem;
    }
    .btn-lg {
        font-size: 1.25rem;
        padding: 1rem 2rem;
    }
}

/* Optional: subtle desktop background enhancement */
@media (min-width: 992px) {
    body.bg-cooked {
        /* background: linear-gradient(135deg, #fdf8f0 0%, #fffaf2 100%); */
    }
}

/* Make sure card doesn't become ridiculously wide on ultra-wide monitors */
@media (min-width: 1400px) {
    .col-xxl-4 {
        max-width: 480px;
    }
}

.hero-slide {
    position: relative;
}

.carousel-caption {
   /* background: rgba(0,0,0,0.45); */
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    max-width: 90%;
}

.drop-shadow {
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

/*------- How It Works – Super Simple --------*/

/*-------Why Meal O Clock?--------*/
    .ls-2 { letter-spacing: 2px; }
    
    .text-shadow {
        text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    }

    /* Architectural Image Shape */
    .image-container {
        position: relative;
        transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .image-container:hover {
        transform: scale(1.02);
    }

    /* Narrative Animation */
    .narrative-item {
        transition: all 0.4s ease;
        opacity: 0.85;
    }

    .narrative-item:hover {
        opacity: 1;
        transform: translateX(10px);
    }

    @media (max-width: 991px) {
        .image-container {
            height: 350px !important;
            border-radius: 40px !important;
        }
        .display-2 {
            font-size: 3.5rem;
            color: var(--text) !important;
            text-shadow: none;
        }
        .position-absolute.top-0 {
            position: relative !important;
            top: auto !important;
            margin-top: 1rem !important;
            padding-top: 0 !important;
        }
    }

/* Path Styling - Desktop */
.journey-path {
    position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    height: 420px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

/* Path Styling - Mobile */
.journey-path-mobile {
    position: absolute;
    top: 350px; /* Adjust to start behind first icon */
    left: 50%;
    transform: translateX(-50%);
    width: 100px; /* Narrow width to stay centered behind icons */
    height: 70%; /* Stretches to bottom step */
    z-index: 1;
    pointer-events: none;
}

/* Animation for the dashed lines */
.path-anim-desktop {
    stroke-dashoffset: 100;
    animation: movePath 10s linear infinite;
}
.path-anim-mobile {
    stroke-dashoffset: 100;
    animation: movePath 15s linear infinite;
}

@keyframes movePath {
    to { stroke-dashoffset: 0; }
}

/* Node Styling */
.journey-node {
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.node-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--primary-soft);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
    z-index: 3;
}

.node-icon.highlight {
    background: var(--primary);
    color: white;
    border-color: white;
    box-shadow: 0 10px 30px rgba(247, 46, 66, 0.3);
}

.node-number {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

/* Interaction */
.journey-node:hover .node-icon {
    transform: translateY(-10px) rotate(5deg);
    border-color: var(--accent);
}

@media (max-width: 991px) {
    .journey-node { 
        margin-bottom: 3rem; 
        background: radial-gradient(circle, white 40%, transparent 70%); /* Mask the line slightly behind text */
    }
}


/* Logo header - top of every page */
.logo-header {
    position: relative;
    z-index: 1030;          /* above other content if needed */
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.logo-main {
    transition: transform 0.18s ease;
}

.logo-main:hover {
    transform: scale(1.04);
}

/* Extra bottom padding for main content (logo + bottom nav) */
main.pb-80 {
    padding-bottom: 80px !important;  /* adjust if mini-cart is shown */
}

/* Desktop - make logo a bit larger */
@media (min-width: 992px) {
    .logo-main {
        max-height: 64px;
    }
    .logo-header {
        padding: 0.75rem 1rem;
    }
}

/* Very small phones - compact logo */
@media (max-width: 360px) {
    .logo-main {
        max-height: 45px;
    }
}

/* Brand header - logo left + name */
.brand-header {
    position: relative;
    z-index: 1030;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.brand-logo {
    transition: transform 0.2s ease;
    object-fit: contain;
}

.brand-header a:hover .brand-logo {
    transform: scale(1.06);
}

.brand-name {
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: var(--primary); font-family: 'Playfair Display', serif; font-style: italic;
}

/* Desktop adjustments */
@media (min-width: 992px) {
    .brand-logo {
        max-height: 58px;
    }
    .brand-name {
        font-size: 1.5rem !important;
    }
    .brand-header {
        padding: 0.25rem 1.5rem;
    }
}

/* Very small phones */
/* Adjust for very small screens */
@media (max-width: 360px) {
    .brand-logo { max-height: 42px; }
    .brand-name { 
		font-size: 1.35rem; 
        
	}
}


footer {
    background: #1a1a1a;
}

footer a:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}

footer .text-white-75 {
    color: rgba(255,255,255,0.75);
}

footer .border-secondary {
    border-color: #444 !important;
}

/*===================================================================*/
.meal-gallery-section .card {
        transition: transform 0.3s ease;
        margin: 10px 5px; /* Adds spacing for shadow */
    }
    .meal-gallery-section .item img {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    /* Custom Navigation Styling */
    .meal-carousel-wrapper {
        position: relative;
    }
    .custom-nav .owl-prev, .custom-nav .owl-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: white !important;
        color: #000 !important;
        width: 45px;
        height: 45px;
        border-radius: 50% !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        cursor: pointer;
    }
    .custom-nav .owl-prev { left: -20px; }
    .custom-nav .owl-next { right: -20px; }
    
    @media (max-width: 768px) {
        .custom-nav { display: none; } /* Hide arrows on mobile for better swiping */
    }
	
/* 1. The Glass Card Container */
.cta-glass-card {
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid rgb(234 232 232);
   /* background-image: radial-gradient(at 0% 0%, rgba(247, 46, 66, 0.05) 0, transparent 50%), 
                      radial-gradient(at 100% 100%, rgba(245, 124, 0, 0.05) 0, transparent 50%); */
    background: linear-gradient(to right, rgb(252 125 4 / 36%), rgb(252 126 4 / 40%));					  
}

/* 2. Styled Underline for "Home Again" */
.styled-underline {
    position: relative;
    color: var(--primary);
    display: inline-block;
}
.styled-underline::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--accent);
    opacity: 0.2;
    z-index: -1;
    border-radius: 4px;
}

/* 3. The Custom Shadow Glow */
.shadow-primary-glow {
    background: linear-gradient(45deg, var(--primary), var(--primary-soft)) !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(247, 46, 66, 0.3), 0 0 0 4px rgba(247, 46, 66, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shadow-primary-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(247, 46, 66, 0.4), 0 0 0 6px rgba(247, 46, 66, 0.15);
}

/* 4. Pulse Animation for Badge */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(247, 46, 66, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(247, 46, 66, 0); }
    100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(247, 46, 66, 0); }
}

/* 5. Floating Tiffin Icon Decor */
.floating-tiffin {
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.03;
    transform: rotate(15deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-20px) rotate(20deg); }
}

/* 6. Text Spacing */
.tracking-wider { letter-spacing: 1.5px; }
.fw-black { font-weight: 500; }

/**/
.hero-card {
	/* background: url('http://googleusercontent.com/image_collection/image_retrieval/5319712646317934001_0') center/cover; */
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	min-height: 220px;
}
.hero-overlay {
	background: linear-gradient(to right, rgb(245 184 0), rgb(255 193 7));
	padding: 2rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.plan-img-top {	
	object-fit: cover;
	border-radius: 15px 15px 0 0;
}
.status-badge { font-size: 0.75rem; padding: 0.4em 1em; border-radius: 50px; }
.floating-btn { border-radius: 15px; transition: all 0.3s ease; }
.floating-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/*Welcome meal start*/
/* Base styling for all selectable boxes */


.selectable-item { border-color: #eee !important; transition: all 0.3s ease-in-out; }
.item-active { border: 2px solid #2aad0b !important; background-color: #f6fff5 !important; }
.btn-white { background: white; border: 1px solid #ddd; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
.summary-row { font-size: 0.9rem; border-bottom: 1px dashed #eee; padding: 8px 0; }
.summary-row:last-child { border-bottom: none; }


/*Welcome meal start*/

/*Subscription*/
/* iOS TOGGLE CSS */
.toggle-container { display: flex; align-items: center; justify-content: space-between; background: #f8f9fa; padding: 10px 15px; border-radius: 15px; border: 1px solid #dee2e6; }
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #e9e9ea; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
input:checked + .slider { background-color: #4cd964; }
input:checked + .slider:before { transform: translateX(24px); }
.slider:after { content: 'OFF'; color: #8e8e93; display: block; position: absolute; transform: translate(-50%,-50%); top: 50%; left: 70%; font-size: 9px; font-weight: bold; transition: .4s; }
input:checked + .slider:after { content: 'ON'; color: white; left: 30%; }

.bg-light-success { background-color: #f0fdf4; }
.bg-light-indigo { background-color: #f5f3ff; }

.bg-light-theme{
    --bs-bg-opacity: 1;
    background-color: rgb(255 234 175) !important;	
}


/*new for price card*/
/* Very light custom tweaks only */
    .price-big {
      font-size: 3.0rem;          /* smaller than before */
      font-weight: 700;           /* medium-bold instead of 900 */
      line-height: 1;
    }
    .price-old {
      font-size: 1.8rem;
      font-weight: 400;           /* regular weight */
      text-decoration: line-through;
      opacity: 0.8;
    }
    .card-lunch {
      background-color: #fffef5;  /* very light warm yellow */
      border: none;
      border-radius: 0.9rem;
      box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.06);
    }
    .card-dinner {
      background-color: #fdf5ff;  /* very light purple */
      border: none;
      border-radius: 0.9rem;
      box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.06);
    }
    .card-lunch:hover,
    .card-dinner:hover {
      transform: translateY(-4px);
      box-shadow: 0 0.8rem 2rem rgba(0,0,0,0.1);
    }
    .badge-offer {
      font-size: 1.1rem;
      font-weight: 500;
      padding: 0.5rem 1.2rem;
    }