/* ========================================= */
/* PREMIUM ABOUT PAGE STYLES                 */
/* ========================================= */

.about-main {
    background-color: #fcfcfc;
    width: 100%;
    overflow-x: clip; /* FIX: 'clip' prevents desktop layout blowout while keeping mobile scrolling perfectly smooth */
}

/* Animations */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(8px);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal-section.active .reveal-item,
.reveal-item.active { /* For items outside sections or manually triggered */
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Common Typography Elements */
.hero-subtitle {
    display: block; font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 3px; color: var(--accent-color); margin-bottom: 1rem; font-weight: 700;
}
.hero-subtitle.dark { color: #888; }

.lux-heading { font-family: var(--font-family-headings); font-size: 2.2rem; font-weight: 700; color: #111; letter-spacing: -0.5px; line-height: 1.3; }
.lux-heading-center { font-family: var(--font-family-headings); font-size: 2.8rem; font-weight: 800; color: #111; letter-spacing: -1px; margin-bottom: 0.5rem; text-align: center; }

.decorative-line { width: 60px; height: 4px; background: var(--accent-color); margin: 0 auto; border-radius: 2px; }
.decorative-line-left { width: 60px; height: 4px; background: var(--accent-color); margin: 1.5rem 0; border-radius: 2px; }

.section-header-center { text-align: center; margin-bottom: 4rem; }
.section-subtitle { font-size: 1.1rem; color: #666; margin-top: 1.5rem; font-weight: 300; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* --- CINEMATIC HERO --- */
.about-hero {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)), url('../images/web_essentials/aboutbg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 12rem 2rem 10rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-hero .hero-content {
    max-width: 800px;
}

.about-hero h1 {
    font-family: var(--font-family-headings);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.about-shop-name-text {
    font-family: var(--font-family-headings);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.about-hero p {
    font-size: 1.25rem;
    color: #e0e0e0;
    font-weight: 300;
}

/* --- FOUNDER EDITORIAL SECTION --- */
.founder-section {
    padding: 8rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.founder-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
}

.founder-image-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.founder-image-wrapper::before {
    content: ''; position: absolute; top: -15px; left: -15px;
    width: 50%; height: 50%; border-top: 3px solid var(--accent-color); border-left: 3px solid var(--accent-color);
    border-radius: 24px 0 0 0; z-index: 0; opacity: 0.5;
}

.founder-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.founder-nameplate {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #111;
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.founder-nameplate h3 { font-family: var(--font-family-headings); font-size: 1.4rem; margin-bottom: 0.2rem; }
.founder-nameplate span { color: var(--accent-color); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.founder-content p {
    font-size: 1.1rem; color: #555; line-height: 1.8; margin-bottom: 1.5rem; font-weight: 300;
}

.founder-signature {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    gap: 15px;
}
.founder-signature i { font-size: 2rem; color: var(--accent-color); }
.founder-signature span { font-weight: 600; font-size: 1.1rem; color: #333; font-style: italic; }


/* --- METRICS / STATS SECTION --- */
.metrics-section {
    background: #111;
    padding: 6rem 2rem;
    color: #fff;
}

.metrics-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.metric-box {
    padding: 2rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.metric-box:last-child { border-right: none; }

.metric-box h3 {
    font-family: var(--font-family-headings);
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-box h3::after { content: '+'; font-size: 2.5rem; vertical-align: top; }

.metric-box span {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    color: #aaa;
}


/* --- FACTORY / CRAFTSMANSHIP SHOWCASE --- */
.factory-section {
    padding: 8rem 2rem;
    background: #fff;
    width: 100%;
}

.factory-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.factory-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f4f4f4;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.item-large {
    grid-row: span 2;
}

.factory-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.factory-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex; align-items: flex-end; padding: 2rem;
    opacity: 0.8; transition: opacity 0.4s ease;
}

.factory-overlay h4 {
    color: #fff; font-family: var(--font-family-headings);
    font-size: 1.5rem; font-weight: 600; letter-spacing: 0.5px;
    transform: translateY(10px); transition: transform 0.4s ease;
}

.factory-item:hover img { transform: scale(1.05); }
.factory-item:hover .factory-overlay { opacity: 1; }
.factory-item:hover .factory-overlay h4 { transform: translateY(0); }


/* --- OUR VALUES (PREMIUM CARDS) --- */
.values-section {
    padding: 6rem 2rem 8rem 2rem;
    background: #fdfdfd;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: #fff;
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--accent-color); transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}
.value-card:hover::before { transform: scaleX(1); }

.value-icon {
    width: 70px; height: 70px; background: #f9f9f9; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem; transition: background 0.4s ease;
}
.value-icon i { font-size: 2rem; color: #111; transition: color 0.4s ease; }

.value-card:hover .value-icon { background: #111; }
.value-card:hover .value-icon i { color: #fff; }

.value-card h3 { font-family: var(--font-family-headings); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; color: #111; }
.value-card p { color: #666; line-height: 1.7; font-weight: 300; font-size: 1.05rem; }


/* --- LOCATION OVERLAP SECTION --- */
.location-section {
    background: #111;
    padding: 6rem 2rem;
    position: relative;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.location-info {
    flex: 1;
    color: #fff;
}
.location-info .hero-subtitle { color: var(--accent-color); }
.location-info h2 { font-family: var(--font-family-headings); font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -1px; }
.location-info p { color: #ccc; font-size: 1.1rem; line-height: 1.6; margin-bottom: 2.5rem; font-weight: 300; }

.address-box {
    display: flex; align-items: center; gap: 15px; margin-bottom: 2.5rem;
    background: rgba(255,255,255,0.05); padding: 1.5rem; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1);
}
.address-box i { font-size: 2rem; color: var(--accent-color); }
.address-box p { margin: 0; font-size: 1.2rem; font-weight: 500; color: #fff; }

.lux-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: #fff; color: #111; padding: 16px 32px; border-radius: 30px;
    font-weight: 700; text-decoration: none; transition: all 0.3s ease;
}
.lux-btn:hover { background: var(--accent-color); color: #fff; transform: translateY(-3px); }

.location-map-wrapper {
    flex: 1.2;
    min-width: 0;
}

.map-glass-frame {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.map-glass-frame iframe {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    background: #eee;
    display: block;
}


/* ========================================= */
/* PREMIUM RESPONSIVE DESIGN                 */
/* ========================================= */
@media (max-width: 1024px) {
    .founder-container { gap: 3rem; }
    .metrics-container { grid-template-columns: repeat(2, 1fr); gap: 3rem 1rem; }
    .metric-box { border-right: none; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .location-container { flex-direction: column; }
    .location-map-wrapper { width: 100%; }
}

@media (max-width: 768px) {
    /* UX COMPRESSION: Crisp, un-zoomed mobile hero */
    .about-hero { 
        padding: 7rem 1.2rem 5rem 1.2rem; 
        clip-path: none; 
        /* FIX: background-attachment: fixed causes severe scroll lag/jank on iOS and Mobile Android. 
           Overriding it here instantly restores smooth scrolling! */
        background-attachment: scroll; 
    }
    .about-hero h1 { font-size: 2.5rem; line-height: 1.2; }
    .about-hero p { font-size: 1.05rem; }
    
    /* UX COMPRESSION: Tighter spacing to prevent scroll fatigue */
    .founder-section { padding: 4rem 1.2rem; overflow: hidden; }
    .founder-container { grid-template-columns: 1fr; gap: 3rem; width: 100%; }
    
    /* Proper alignment for founder image */
    .founder-image-wrapper { margin: 15px 1rem 0 1rem; }
    .founder-nameplate { right: -5px; bottom: -25px; padding: 1rem 1.2rem; width: auto; min-width: 80%; }
    .founder-nameplate h3 { font-size: 1.2rem; }
    
    .lux-heading { font-size: 1.6rem; }
    .founder-content p { font-size: 1rem; margin-bottom: 1rem; }
    
    /* Metrics: Properly scaled numbers */
    .metrics-section { padding: 3rem 1.2rem; }
    .metrics-container { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
    .metric-box { padding: 1rem 0.5rem; }
    .metric-box h3 { font-size: 2.5rem; }
    .metric-box h3::after { font-size: 1.5rem; }
    .metric-box span { font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; }
    
    /* 5-LAKH MOBILE UX: Horizontal App-Like Slider for Factory Grid */
    .factory-section { padding: 4rem 0; overflow: hidden; } /* Zero horiz padding for full bleed */
    .section-header-center { padding: 0 1.2rem; margin-bottom: 2rem; }
    .lux-heading-center { font-size: 2rem; }
    
    .factory-grid { 
        display: flex; 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        gap: 1rem; 
        padding: 10px 1.2rem 2rem 1.2rem; /* Restore padding inside scroll */
        scrollbar-width: none; 
        -webkit-overflow-scrolling: touch;
    }
    .factory-grid::-webkit-scrollbar { display: none; }
    
    .factory-item { flex: 0 0 85vw; height: 350px; scroll-snap-align: center; }
    .item-large { grid-row: unset; } /* Remove desktop span layout */
    .factory-overlay { padding: 1.5rem; }
    .factory-overlay h4 { font-size: 1.2rem; }
    
    /* Values Grid: Scaled padding */
    .values-section { padding: 4rem 1.2rem; }
    .values-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .value-card { padding: 2rem 1.5rem; }
    .value-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
    .value-card p { font-size: 0.95rem; }
    
    /* Location Section */
    .location-section { padding: 4rem 1.2rem; }
    .location-info h2 { font-size: 2rem; }
    .location-info p { font-size: 1rem; }
    .address-box { flex-direction: column; text-align: center; align-items: center; padding: 1.5rem; gap: 10px; }
    .address-box p { font-size: 1rem; }
    .lux-btn { width: 100%; padding: 16px; }

    /* Fix iframe resizing constraints */
    .location-map-wrapper { width: 100%; box-sizing: border-box; overflow: hidden; }
    .map-glass-frame { padding: 0.8rem; border-radius: 16px; }
    .map-glass-frame iframe { height: 250px; border-radius: 12px; }
}

@media (max-width: 480px) {
    /* Extreme small screen safeguards */
    .metric-box h3 { font-size: 2rem; }
    .founder-nameplate { width: 90%; }
}