/* ============================================
   ABOUT US PAGE - BIJNORI CHAI WALA
   Complete CSS | Fully Responsive
   ============================================ */

/* CSS Variables */
:root {
    --about-primary: #c46b2b;
    --about-primary-dark: #a0521a;
    --about-primary-light: #e8904a;
    --about-secondary: #4a2c1a;
    --about-secondary-dark: #2d1a0e;
    --about-white: #ffffff;
    --about-bg-light: #fffaf2;
    --about-bg-cream: #fff5eb;
    --about-text-dark: #2d2d2d;
    --about-text-gray: #666;
    --about-shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.05);
    --about-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --about-shadow-lg: 0 15px 35px rgba(196, 107, 43, 0.15);
    --about-gradient-primary: linear-gradient(135deg, #c46b2b, #e8904a);
    --about-gradient-dark: linear-gradient(135deg, #4a2c1a, #2d1a0e);
    --about-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.about-page-header {
    background: var(--about-gradient-dark);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-page-header::before {
    content: '☕';
    position: absolute;
    top: -50px;
    left: -50px;
    font-size: 200px;
    opacity: 0.05;
}

.about-page-header::after {
    content: '🍃';
    position: absolute;
    bottom: -50px;
    right: -50px;
    font-size: 200px;
    opacity: 0.05;
}

.about-page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--about-white), #ffd89b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: aboutFadeInUp 0.8s ease;
}

.about-page-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--about-white);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: aboutFadeInUp 0.8s ease 0.1s backwards;
}

/* ============================================
   STORY SECTION
   ============================================ */
.about-story-section {
    padding: 80px 0;
    background: var(--about-bg-light);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-content {
    animation: aboutSlideInLeft 0.8s ease;
}

.about-story-heading {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--about-secondary);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-story-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--about-gradient-primary);
    border-radius: 3px;
}

.about-story-text p {
    color: var(--about-text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-story-text p:last-child {
    margin-bottom: 0;
}

.about-loading {
    color: var(--about-text-gray);
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.about-story-image-wrapper {
    animation: aboutSlideInRight 0.8s ease;
    position: relative;
}

.about-story-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--about-shadow-lg);
    transition: var(--about-transition);
}

.about-story-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(196, 107, 43, 0.2);
}

.about-story-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-top: 3px solid var(--about-primary);
    border-left: 3px solid var(--about-primary);
    border-radius: 20px 0 0 0;
    opacity: 0.5;
}

.about-story-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    border-bottom: 3px solid var(--about-primary);
    border-right: 3px solid var(--about-primary);
    border-radius: 0 0 20px 0;
    opacity: 0.5;
}

/* ============================================
   MISSION & VISION
   ============================================ */
.about-mv-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--about-bg-cream), var(--about-bg-light));
}

.about-mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.about-mv-card {
    background: var(--about-white);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    transition: var(--about-transition);
    box-shadow: var(--about-shadow-sm);
    position: relative;
    overflow: hidden;
}

.about-mv-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--about-gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-mv-card:hover::before {
    transform: scaleX(1);
}

.about-mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--about-shadow-lg);
}

.about-mv-icon {
    font-size: 55px;
    background: var(--about-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--about-primary);
    margin-bottom: 20px;
    transition: var(--about-transition);
}

.about-mv-card:hover .about-mv-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-mv-title {
    font-size: 1.8rem;
    color: var(--about-secondary);
    margin-bottom: 15px;
}

.about-mv-text {
    color: var(--about-text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   FOUNDERS SECTION
   ============================================ */
.about-founders-section {
    padding: 80px 0;
    background: var(--about-bg-light);
}

.about-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fae6d3, #fff5eb);
    color: var(--about-primary);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about-section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--about-secondary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.about-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--about-gradient-primary);
    border-radius: 3px;
}

.about-section-subtitle {
    color: var(--about-text-gray);
    font-size: 1rem;
    margin-top: 15px;
}

.about-founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-founder-card {
    background: var(--about-white);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--about-transition);
    box-shadow: var(--about-shadow-sm);
    position: relative;
    overflow: hidden;
}

.about-founder-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--about-shadow-lg);
}

.about-founder-quote {
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 40px;
    color: var(--about-primary);
    opacity: 0.2;
    transition: var(--about-transition);
}

.about-founder-card:hover .about-founder-quote {
    opacity: 0.4;
    transform: scale(1.1);
}

.about-founder-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    position: relative;
}

.about-founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--about-shadow-md);
    transition: var(--about-transition);
    border: 4px solid transparent;
}

.about-founder-card:hover .about-founder-image {
    transform: scale(1.05);
    border-color: var(--about-primary);
    box-shadow: 0 10px 30px rgba(196, 107, 43, 0.3);
}

.about-founder-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--about-gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-founder-card:hover .about-founder-image-wrapper::after {
    opacity: 1;
}

.about-founder-name {
    font-size: 1.5rem;
    color: var(--about-secondary);
    margin-bottom: 5px;
}

.about-founder-title {
    color: var(--about-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-founder-message {
    color: var(--about-text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    font-style: italic;
}

/* API Status */
.about-api-status {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #27ae60;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    z-index: 999;
    box-shadow: var(--about-shadow-sm);
    transition: var(--about-transition);
    cursor: pointer;
    opacity: 0.9;
}

.about-api-status:hover {
    opacity: 1;
    transform: scale(1.02);
}

/* Animations */
@keyframes aboutFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aboutSlideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .about-container {
        max-width: 960px;
    }

    .about-page-header {
        padding: 80px 0 60px;
    }

    .about-story-section,
    .about-mv-section,
    .about-founders-section {
        padding: 60px 0;
    }

    .about-story-grid {
        gap: 40px;
    }

    .about-story-image-wrapper::before,
    .about-story-image-wrapper::after {
        width: 80px;
        height: 80px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .about-page-header {
        padding: 70px 0 50px;
    }

    .about-page-title {
        font-size: 2.2rem;
    }

    .about-story-section {
        padding: 50px 0;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-story-content {
        order: 2;
        text-align: center;
    }

    .about-story-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-story-image-wrapper {
        order: 1;
    }

    .about-story-image-wrapper::before,
    .about-story-image-wrapper::after {
        width: 60px;
        height: 60px;
    }

    .about-mv-section {
        padding: 50px 0;
    }

    .about-mv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-founders-section {
        padding: 50px 0;
    }

    .about-founders-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 450px;
    }

    .about-section-header {
        margin-bottom: 40px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .about-container {
        padding: 0 15px;
    }

    .about-page-header {
        padding: 60px 0 40px;
    }

    .about-page-title {
        font-size: 1.8rem;
    }

    .about-page-subtitle {
        font-size: 0.85rem;
    }

    .about-story-section {
        padding: 40px 0;
    }

    .about-story-grid {
        gap: 30px;
    }

    .about-story-heading {
        font-size: 1.5rem;
    }

    .about-story-text p {
        font-size: 0.9rem;
    }

    .about-story-image-wrapper::before,
    .about-story-image-wrapper::after {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }

    .about-mv-section {
        padding: 40px 0;
    }

    .about-mv-card {
        padding: 30px 20px;
    }

    .about-mv-icon {
        font-size: 45px;
    }

    .about-mv-title {
        font-size: 1.3rem;
    }

    .about-mv-text {
        font-size: 0.9rem;
    }

    .about-founders-section {
        padding: 40px 0;
    }

    .about-section-title {
        font-size: 1.5rem;
    }

    .about-founder-card {
        padding: 30px 20px;
    }

    .about-founder-image-wrapper {
        width: 120px;
        height: 120px;
    }

    .about-founder-name {
        font-size: 1.2rem;
    }

    .about-founder-message {
        font-size: 0.85rem;
    }

    .about-founder-quote {
        font-size: 30px;
        top: 15px;
        left: 15px;
    }

    .about-api-status {
        bottom: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 10px;
    }
}

/* Landscape Mode */
@media (max-width: 768px) and (orientation: landscape) {
    .about-page-header {
        padding: 50px 0 30px;
    }

    .about-story-section,
    .about-mv-section,
    .about-founders-section {
        padding: 40px 0;
    }

    .about-founders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-founder-image-wrapper {
        width: 100px;
        height: 100px;
    }

    .about-founder-card {
        padding: 25px 15px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .about-page-header {
        background: var(--about-secondary-dark);
        padding: 40px 0;
    }

    .about-page-title {
        -webkit-text-fill-color: var(--about-white);
        color: var(--about-white);
    }

    .about-story-image-wrapper::before,
    .about-story-image-wrapper::after {
        display: none;
    }

    .about-mv-card,
    .about-founder-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .about-api-status,
    .whatsapp-float {
        display: none;
    }
}