
/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 20px 0; background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(10px); transition: 0.3s;
}
.nav-container {
    max-width: 1300px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 40px;
}
.logo-box img { height: 45px; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a {
    text-decoration: none; color: var(--primary);
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    transition: 0.3s; font-family: 'Inter', sans-serif; 
}
.nav-links a.active, .nav-links a:hover { color: var(--accent); }
.mobile-toggle { display: none; font-size: 24px; cursor: pointer; }

.hero-premium {
    height: 100vh;
    width: 100%;
    background-color: #FDFBF7; /* Creamy White */
    background-image: 
        radial-gradient(#4a2c2a10 1px, transparent 1px), 
        radial-gradient(#4a2c2a10 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px; /* Subtle Grid Pattern */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Floating Decorative Elements */
.bg-pattern::before {
    content: 'ABHANG';
    position: absolute;
    font-size: 15vw;
    font-weight: 900;
    color: rgba(74, 44, 42, 0.03); /* Extremely subtle text background */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    letter-spacing: 20px;
}

.hero-main-content {
    position: relative;
    z-index: 10;
    padding: 0 5%;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 7vw, 90px);
    color: #4A2C2A;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-title .highlight {
    display: block;
    color: #FF9800;
    font-style: italic;
    background: linear-gradient(120deg, transparent 0%, transparent 50%, #fff0d6 50%); /* Subtle underline effect */
    background-size: 200%;
    transition: 0.5s;
}

.hero-desc {
    font-size: 18px;
    color: #7a6a68;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Buttons */
.hero-action-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-fill {
    background: #4A2C2A;
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(74, 44, 42, 0.2);
}

.btn-outline {
    border: 2px solid #4A2C2A;
    color: #4A2C2A;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-fill:hover { background: #FF9800; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(255, 152, 0, 0.3); }
.btn-outline:hover { background: #4A2C2A; color: #fff; transform: translateY(-3px); }

/* Animation Classes */
.reveal-down {
    animation: fadeInDown 1s ease forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero-action-btns { flex-direction: column; }
    .hero-title { font-size: 38px; }
}
/* --- COLLECTION --- */
.collection { padding: 100px 8%; background: var(--white); border-radius: 80px 80px 0 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 50px; font-style: italic; margin-bottom: 10px; }
.section-header p { color: var(--text-dim); }

.product-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; margin-bottom: 60px; 
}
.product-card {
    background: #F9F9F9; padding: 40px 20px; border-radius: 40px;
    text-align: center; position: relative; transition: 0.5s;
}
.card-1:hover {
  background: #ffbcc8;
  transform: translateY(-10px);
}

.card-2:hover {
  background: bisque;
  transform: translateY(-8px) scale(1.02);
}

.card-3:hover {
  background: rgba(255, 181, 120, 0.856);
  transform: translateY(-12px) rotate(-1deg);
}
.card-4:hover {
  background: #f3ffe6 ;
  transform: translateY(-12px) rotate(-1deg);
}
.card-5:hover {
  background:#ffe6f9 ;
  transform: translateY(-12px) rotate(-1deg);
}
.card-6:hover {
  background: #491a1a70;
  transform: translateY(-12px) rotate(-1deg);
}
.card-7:hover {
  background: #d4afff;
  transform: translateY(-12px) rotate(-1deg);
}
.product-card span { position: absolute; top: 25px; right: 25px; font-size: 9px; font-weight: 800; opacity: 0.3; letter-spacing: 1px; }
.product-card img { height: 260px; margin-bottom: 25px; transition: 0.5s; object-fit: contain; }
.product-card:hover img { transform: scale(1.1); }
.product-card h3 { font-size: 22px; font-weight: 700; }

.center-btn { text-align: center; }
.btn-outline {
    display: inline-block; padding: 15px 40px; border: 2px solid var(--primary);
    text-decoration: none; color: var(--primary); border-radius: 50px;
    font-weight: 700; font-size: 12px; letter-spacing: 2px; transition: 0.3s;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* --- FOOTER --- */
.main-footer { background: var(--footer-bg); color: var(--white); padding: 80px 8% 40px; }
.footer-top { 
    display: grid; grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 80px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.f-logo { height: 50px; margin-bottom: 25px; }
.tagline { font-family: 'Playfair Display', serif; font-style: italic; font-size: 18px; opacity: 0.8; margin-bottom: 25px; }

.social-links { display: flex; gap: 25px; }
.social-links a {
    width: 60px; height: 60px; background: rgba(255,255,255,0.05);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; text-decoration: none; transition: 0.3s;
}

.footer-column h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; color: var(--accent); }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 15px; }
.footer-column a { color: white; opacity: 0.6; text-decoration: none; transition: 0.3s; font-size: 14px; }
.footer-column a:hover { opacity: 1; padding-left: 5px; color: var(--accent); }
.footer-column p { opacity: 0.6; font-size: 14px; margin-bottom: 15px; }
.footer-column i { margin-right: 12px; color: var(--accent); }

.footer-bottom { 
    display: flex; justify-content: space-between; align-items: center; 
    padding-top: 40px; font-size: 12px; opacity: 0.5; letter-spacing: 1px;
}
.brand-core { color: var(--accent); font-weight: 700; }
.coding-tantra { color: var(--accent); font-weight: 700; }

/* --- ANIMATIONS --- */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(2deg); }
}
/* Signature Section Fix */
.collection {
    padding: 80px 8%;
    background: var(--white);
    position: relative;
    z-index: 10;
    clear: both; /* Overflow fix */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    opacity: 1; /* Make sure it's visible by default */
}

.product-card {
    background: #F9F9F9;
    padding: 30px;
    border-radius: 40px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card img {
    max-width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: contain;
    margin-bottom: 20px;
}
/* --- OUTLETS PAGE STYLES --- */
.outlets-section {
    padding: 160px 8% 100px;
    background: #fff;
    min-height: 100vh;
}

.outlets-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.outlets-list h1 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent);
}

.store-cards {
    margin-top: 50px;
}

.store-card {
    padding: 40px;
    border-radius: 30px;
    background: #F9F9F9;
    margin-bottom: 25px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: 0.4s ease;
    cursor: pointer;
}

.store-card.active, .store-card:hover {
    background: #fff;
    box-shadow: 0 20px 40px rgba(74, 44, 42, 0.08);
    border-color: var(--accent);
    transform: translateX(10px);
}

.store-card .tag {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.store-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary);
}

.store-card p {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 20px;
    line-height: 1.5;
}

.map-link {
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.map-link i {
    transition: 0.3s;
}

.store-card:hover .map-link i {
    transform: translateX(5px);
}

/* Map Visual Area */
.outlets-visual {
    position: sticky;
    top: 150px;
    height: 600px;
}

.map-box {
    width: 100%;
    height: 100%;
    background: #eee;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #4A2C2A;
    color: white;
}

.map-overlay i {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--accent);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive Outlets */
@media (max-width: 1024px) {
    .outlets-container { grid-template-columns: 1fr; }
    .outlets-visual { height: 400px; position: static; }
}
/* --- FRANCHISE PAGE STYLES --- */
.franchise-hero {
    padding: 180px 8% 100px;
    background: linear-gradient(rgba(74, 44, 42, 0.9), rgba(74, 44, 42, 0.9)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.franchise-hero h1 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent);
}

.why-join {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 80px 8%;
    background: #fff;
    margin-top: -50px;
}

.benefit-card {
    background: #FDFBF7;
    padding: 50px 40px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.benefit-card:hover { transform: translateY(-10px); background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.benefit-card i { font-size: 40px; color: var(--accent); margin-bottom: 25px; }
.benefit-card h3 { font-size: 22px; margin-bottom: 15px; }
.benefit-card p { font-size: 14px; color: var(--text-dim); }

.franchise-form-section { padding: 100px 8%; background: #FDFBF7; }
.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #4A2C2A;
    padding: 80px;
    border-radius: 60px;
    color: white;
}

.form-header { text-align: center; margin-bottom: 50px; }
.form-header h2 { font-family: 'Playfair Display', serif; font-size: 40px; font-style: italic; margin-bottom: 10px; }
.form-header p { opacity: 0.6; font-size: 16px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.input-group label { display: block; font-size: 10px; letter-spacing: 2px; margin-bottom: 10px; opacity: 0.5; }
.input-group input, .input-group textarea {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0; color: white; font-size: 16px; outline: none; transition: 0.3s;
}
.input-group input:focus, .input-group textarea:focus { border-color: var(--accent); }

.btn-submit {
    width: 100%; padding: 22px; background: var(--accent); border: none; border-radius: 30px;
    color: white; font-weight: bold; letter-spacing: 2px; cursor: pointer; transition: 0.4s;
}
.btn-submit:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }

@media (max-width: 900px) {
    .why-join { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-container { padding: 40px 20px; }
}
/* Pehle default hide karo (Desktop ke liye) */
.mobile-bottom-nav {
    display: none;
}

/* Ab sirf mobile screen par show karo */
@media (max-width: 900px) {
    .mobile-bottom-nav {
        display: flex; /* Desktop par hide, mobile par flex */
        position: fixed;
        bottom: 20px;
        left: 5%;
        right: 5%;
        height: 65px;
        background: rgba(74, 44, 42, 0.95);
        backdrop-filter: blur(15px);
        border-radius: 25px;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        border: 1px solid rgba(255,255,255,0.1);
    }
}
/* STORY PAGE ESSENTIALS */
.about-page {
    background: #FDFBF7;
    transition: background-color 0.8s ease;
}

.scroll-wrapper {
    position: relative;
    width: 100%;
}

.story-sec {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.story-info {
    max-width: 600px;
    z-index: 10;
}

.story-info h4 { color: #FF9800; letter-spacing: 4px; margin-bottom: 20px; font-weight: 700; }
.story-info h1 { font-family: 'Playfair Display', serif; font-size: clamp(40px, 6vw, 75px); font-style: italic; line-height: 1.1; margin-bottom: 30px; }
.story-info h1 span { color: #FF9800; }
.story-info p { font-size: 18px; line-height: 1.8; opacity: 0.8; }

/* Fixed Floating Image Wrapper */
.floating-kulfi-trigger {
    position: fixed;
    top: 50%;
    right: 12%;
    transform: translateY(-50%);
    width: 350px;
    z-index: 5;
    pointer-events: none;
    transition: 0.3s ease;
}

.floating-kulfi-trigger img {
    width: 400px;
    filter: drop-shadow(0 30px 60px rgba(74, 44, 42, 0.2));
}

/* Dark Mode Helper */
.dark-bg {
    background-color: #2D1B1A !important;
    color: #ffffff !important;
}
.dark-bg .story-info p { color: #eee; }
.dark-bg .navbar { background: transparent !important; }
.mobile-bottom-nav .nav-item {
    position: relative;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent; /* Mobile click blue box hatane ke liye */
}

/* Force Icon Visibility */
.mobile-bottom-nav .nav-item i {
    font-size: 20px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 4px;
    backface-visibility: hidden; /* Glitch fix */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Active State */
.mobile-bottom-nav .nav-item.active {
    color: #FF9800 !important; /* Orange color */
}

/* Animation: Bada ho ke gayab nahi hoga, vahi rukega */
.mobile-bottom-nav .nav-item.active i {
    transform: translateY(-8px) scale(1.2);
    color: #FF9800 !important;
}

.mobile-bottom-nav .nav-item span {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.7;
}

.mobile-bottom-nav .nav-item.active span {
    opacity: 1;
}
.traditional-showcase {
    padding: 80px 0;
    background: #FDFBF7;
    overflow: hidden;
}

.matka-stage {
    position: relative;
    height: 600px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.matka-anchor {
    width: 380px; /* Refined size */
    z-index: 10;
    transition: transform 0.5s ease;
    padding-top: 100px;
}

.matka-img { width: 100%; filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15)); }

/* Thread & Kulfi Alignment */
.thread {
    position: absolute;
    top: 0;
    width: 1px;
    background: #FDFBF7;
    height: 0;
    transform-origin: top;
}

.thread img {
    width: 65px;
    position: absolute;
    bottom: -90px;
    left: -32px;
    opacity: 0;
}

/* Desktop Arch Positioning */
.h-1 { left: 10%; top: 80px; }
.h-2 { left: 25%; top: 30px; }
.h-3 { left: 40%; top: 10px; }
.h-4 { left: 50%; top: -20px; }
.h-5 { left: 60%; top: 10px; }
.h-6 { left: 75%; top: 30px; }
.h-7 { left: 90%; top: 80px; }

.funny-header {
    text-align: center;
    width: 100%;
    margin-bottom: 50px;
}
.funny-header h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
}