/* ========================================= */
/* ⭐️ JYOTHI TAILORS - ABOUT US STYLES ⭐️ */
/* ========================================= */

/* === 1. BASE STYLES & VARIABLES === */
:root {
    --primary-color: #3A1E58; 
    --secondary-color: #f43f7d; 
    --accent-color: #CBBF81; /* Premium Banner Background */
    --text-dark: #141726;
    --text-light: #666666;
    --bg-light: #fcfcfc;
    --white: #ffffff;
    --border-color: #E3E9EF;
    --transition: all 0.3s ease;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif; 
    -webkit-tap-highlight-color: transparent;
}

body { 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased; 
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.container { 
    max-width: 1450px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* === 2. PREMIUM DESKTOP NAVBAR (PERFECT ALIGNMENT) === */
header { 
    background-color: var(--white); 
    box-shadow: 0px 4px 16px rgba(43, 52, 69, 0.05); 
    position: sticky; 
    top: 0; 
    z-index: 9999; 
    border-bottom: 1px solid var(--border-color); 
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 85px; 
    position: relative; 
}

.nav-left { display: none; } 

.logo {
    display: flex;
    align-items: center;
    margin-right: auto; 
}

.logo img {
    height: 65px; 
    object-fit: contain;
}

.nav-links { 
    display: flex; 
    gap: 2.8rem; 
    align-items: center; 
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%); 
    margin: 0; 
}

.nav-links a { 
    font-weight: 600; 
    font-size: 0.95rem; 
    color: var(--primary-color); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    position: relative; 
    padding-bottom: 5px; 
}

.nav-links a::after { 
    content: ''; 
    position: absolute; 
    width: 100%; 
    height: 2px; 
    bottom: 0; 
    left: 0; 
    background-color: var(--secondary-color); 
    transform: scaleX(0); 
    transform-origin: bottom right; 
    transition: transform 0.3s ease-out; 
}

.nav-links a:hover::after, 
.nav-links a.active-link::after { 
    transform: scaleX(1); 
    transform-origin: bottom left; 
}

.nav-links a:hover, .nav-links a.active-link { 
    color: var(--secondary-color); 
}

.nav-icons { 
    display: flex; 
    gap: 1.8rem; 
    font-size: 1.4rem; 
    color: var(--primary-color); 
    align-items: center; 
}

.nav-icons i { cursor: pointer; transition: var(--transition); }
.nav-icons i:hover { color: var(--secondary-color); transform: translateY(-2px); }

.cart-wrapper { position: relative; display: flex; align-items: center; cursor: pointer; }

.cart-badge { 
    position: absolute; 
    top: -6px; 
    right: -8px; 
    background-color: var(--secondary-color); 
    color: white; 
    font-size: 0.65rem; 
    font-weight: 700; 
    height: 18px; 
    width: 18px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border: 2px solid var(--white); 
}

.close-menu-btn, .mobile-bottom-nav { display: none; }

/* === 3. PAGE BANNER === */
.page-banner { 
    background-color: var(--accent-color); 
    padding: 1.5rem 20px; 
    margin-bottom: 1rem; 
    color: var(--primary-color); 
    text-align: center; 
}

.page-banner h1 { 
    font-size: 3rem; 
    margin-bottom: 0.5rem; 
    letter-spacing: 1px;
}

.page-banner p { 
    font-size: 1.2rem; 
    color: var(--primary-color); 
    font-weight: 500;
}

/* === 4. ABOUT CONTENT (HERO & TIMELINE) === */
.about-hero { padding-bottom: 5rem; }

.about-hero-grid { 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 4rem; 
    align-items: start;
}

.section-title { font-size: 2.5rem; margin-bottom: 1rem; }

.lead-text { 
    font-size: 1.2rem; 
    color: var(--secondary-color); 
    font-weight: 600; 
    margin-bottom: 2rem; 
}

/* Timeline Matching the Grid Logic */
.humble-timeline { 
    margin-top: 3rem; 
    border-left: 2px solid var(--border-color); 
    padding-left: 2rem; 
}

.humble-timeline-item { 
    position: relative; 
    margin-bottom: 3rem; 
}

.time-marker { 
    position: absolute; 
    left: -39px; 
    top: 5px; 
    width: 14px; 
    height: 14px; 
    background: var(--secondary-color); 
    border-radius: 50%; 
    border: 3px solid var(--white); 
    box-shadow: 0 0 0 3px var(--border-color);
}

.humble-timeline-item h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.humble-timeline-item p { color: var(--text-light); font-size: 0.95rem; }

/* Image Frame Styling */
.image-frame { 
    background: var(--white); 
    padding: 1rem; 
    border-radius: 15px; 
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1); 
    border: 1px solid var(--border-color);
}

.image-frame img { 
    width: 100%; 
    border-radius: 10px; 
    display: block;
}

/* === 5. FOOTER === */
footer {
    background-color: var(--white);
    padding: 0.5rem 0.5rem 0.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h4 { color: var(--primary-color); font-size: 1.1rem; margin-bottom: 1.5rem; font-weight: 700; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--text-light); transition: var(--transition); font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--primary-color); font-weight: 500; }
.social-icons { display: flex; gap: 1.2rem; margin-top: 1rem; }
.social-icons i { font-size: 1.5rem; color: var(--primary-color); cursor: pointer; transition: var(--transition); }
.social-icons i:hover { color: var(--secondary-color); transform: scale(1.1); }
.footer-bottom { text-align: center; padding-top: 2rem; margin-top: 3rem; border-top: 1px solid var(--border-color); color: var(--text-light); font-size: 0.9rem; }

/* ========================================= */
/* 📱 NATIVE APP MOBILE ENGINE (Under 768px) */
/* ========================================= */
@media (max-width: 768px) {
    
    body { padding-bottom: 80px; } 

    /* 1. "TRUE CENTER" MOBILE HEADER */
    .navbar {
        display: flex !important;
        align-items: center !important;
        padding: 10px 20px !important;
        height: 65px !important;
    }
    
    .nav-left { display: flex !important; flex: 1; justify-content: flex-start; }
    .logo { display: flex; flex: 1; justify-content: center; position: static; margin: 0; }
    .nav-icons { display: flex !important; flex: 1; justify-content: flex-end; gap: 1rem; }

    .logo img { height: 50px !important; } 
    .desktop-only { display: none !important; }

    .mobile-menu-toggle {
        background: none;
        border: none;
        font-size: 1.6rem;
        color: var(--primary-color);
        cursor: pointer;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; 
        width: 75vw !important; 
        height: 100vh !important;
        background: var(--white) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 80px 30px !important;
        box-shadow: 5px 0 15px rgba(0,0,0,0.3) !important;
        transition: left 0.3s ease !important;
        z-index: 100000 !important;
        gap: 25px !important;
        transform: none !important;
    }
    .nav-links.active { left: 0 !important; }

    .close-menu-btn {
        display: block !important;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: var(--primary-color);
    }

    .page-banner { padding: 2rem 15px; }
    .page-banner h1 { font-size: 1.8rem; }
    .page-banner p { font-size: 0.95rem; }

    /* Mobile Heritage Layout */
    .about-hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }

    .about-image { order: -1; } /* Image on top for mobile */

    .humble-timeline { text-align: left; margin-top: 2rem; }

    /* 6. Sticky Bottom Navigation (FIXED: PROFILE IS BACK) */
    .mobile-bottom-nav {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
        padding: 10px 0 15px 0;
        z-index: 99999;
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--text-light);
        font-size: 0.65rem;
        gap: 4px;
        font-weight: 500;
    }

    .mobile-bottom-nav .nav-item i { font-size: 1.2rem; }
    .mobile-bottom-nav .nav-item.active { color: var(--primary-color); font-weight: 700; }
}