/* =================================================================
   Mangalkaryam — public website styles
   2026-05-20
   Colors derived from Flutter app:
     --mk-coral : #FB5A57  (primary CTA)
     --mk-maroon: #79244D  (deep accent, brand)
     --mk-cream : #FBF6EE  (warm background)
     --mk-ink   : #2B1B22  (text)
     --mk-mute  : #6B5762  (secondary text)
================================================================= */

:root {
    --mk-coral:        #FB5A57;
    --mk-coral-dark:   #E14A47;
    --mk-maroon:       #79244D;
    --mk-maroon-dark:  #5C1A3A;
    --mk-cream:        #FBF6EE;
    --mk-cream-deep:   #F4ECDC;
    --mk-ink:          #2B1B22;
    --mk-mute:         #6B5762;
    --mk-line:         #EFE6D6;
    --mk-gold:         #C8923D;
    --mk-white:        #FFFFFF;
    --mk-radius:       14px;
    --mk-radius-lg:    24px;
    --mk-shadow:       0 12px 40px rgba(43, 27, 34, 0.10);
    --mk-shadow-card:  0 4px 20px rgba(43, 27, 34, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: var(--mk-ink);
    background: var(--mk-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--mk-maroon); text-decoration: none; }
a:hover { color: var(--mk-coral); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--mk-ink); }
em { color: var(--mk-coral); font-style: italic; }

/* =================================================================
   NAVIGATION
================================================================= */
.mk-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251, 246, 238, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mk-line);
}
.mk-nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.mk-brand { display: flex; align-items: center; gap: 10px; }
.mk-brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--mk-coral), var(--mk-maroon));
    color: white; border-radius: 50%;
    font-family: 'Playfair Display', serif; font-weight: 600; font-size: 18px;
}
.mk-brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px; font-weight: 600;
    color: var(--mk-ink);
}
.mk-brand-accent { color: var(--mk-coral); }

.mk-nav-links { display: flex; align-items: center; gap: 32px; }
.mk-nav-links a {
    font-weight: 500; font-size: 15px;
    color: var(--mk-mute);
    transition: color 0.15s;
}
.mk-nav-links a:hover, .mk-nav-links a.active { color: var(--mk-ink); }
.mk-nav-cta {
    background: var(--mk-ink); color: var(--mk-white) !important;
    padding: 10px 20px; border-radius: var(--mk-radius);
    font-size: 14px !important;
}
.mk-nav-cta:hover { background: var(--mk-maroon); color: var(--mk-white) !important; }

.mk-nav-toggle {
    display: none;
    background: none; border: none; padding: 8px; cursor: pointer;
}
.mk-nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--mk-ink); margin: 5px 0;
    transition: 0.2s;
}

/* =================================================================
   BUTTONS
================================================================= */
.mk-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--mk-radius);
    font-weight: 600; font-size: 15px;
    text-align: center;
    transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
    border: none; cursor: pointer;
    font-family: inherit;
}
.mk-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(43,27,34,0.15); }

.mk-btn-primary {
    background: var(--mk-coral); color: var(--mk-white);
}
.mk-btn-primary:hover { background: var(--mk-coral-dark); color: var(--mk-white); }

.mk-btn-dark {
    background: var(--mk-ink); color: var(--mk-white);
    display: inline-flex; flex-direction: column; align-items: flex-start;
    padding: 12px 24px;
}
.mk-btn-dark .mk-store-label { font-size: 11px; opacity: 0.7; }
.mk-btn-dark .mk-store-name { font-size: 17px; font-weight: 700; }
.mk-btn-dark:hover { background: var(--mk-maroon); color: var(--mk-white); }

.mk-btn-ghost {
    background: transparent; color: var(--mk-ink);
    border: 1.5px solid var(--mk-ink);
}
.mk-btn-ghost:hover { background: var(--mk-ink); color: var(--mk-white); }

.mk-btn-large { padding: 18px 40px; font-size: 17px; }
.mk-btn-full { width: 100%; }

/* =================================================================
   HERO (landing)
================================================================= */
.mk-hero {
    position: relative;
    min-height: 88vh;
    display: flex; align-items: center;
    overflow: hidden;
}
.mk-hero-image {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 30%;
}
.mk-hero-gradient {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(43,27,34,0.05) 0%, rgba(43,27,34,0.35) 60%, rgba(43,27,34,0.85) 100%),
        linear-gradient(90deg, rgba(43,27,34,0.40) 0%, transparent 50%);
}
.mk-hero-content {
    position: relative; z-index: 2;
    width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 60px 24px;
}
.mk-hero-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    padding: 44px 40px;
    border-radius: var(--mk-radius-lg);
    max-width: 580px;
    box-shadow: var(--mk-shadow);
}
.mk-hero-eyebrow {
    font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mk-coral);
    margin-bottom: 14px;
}
.mk-hero-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.mk-hero-subtitle {
    font-size: 17px;
    color: var(--mk-mute);
    margin-bottom: 32px;
    max-width: 480px;
}
.mk-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* =================================================================
   GENERIC SECTION
================================================================= */
.mk-section { padding: 90px 24px; }
.mk-section-light { background: var(--mk-white); }
.mk-section-cream { background: var(--mk-cream); }
.mk-section-inner { max-width: 1200px; margin: 0 auto; }

.mk-section-eyebrow {
    font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mk-coral);
    margin-bottom: 14px;
}
.mk-section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    margin-bottom: 50px;
    max-width: 720px;
}

/* =================================================================
   HOW IT WORKS — 3 STEPS
================================================================= */
.mk-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.mk-step {
    padding: 36px 28px;
    background: var(--mk-cream);
    border-radius: var(--mk-radius-lg);
    border: 1px solid var(--mk-line);
    transition: transform 0.2s, box-shadow 0.2s;
}
.mk-step:hover { transform: translateY(-4px); box-shadow: var(--mk-shadow-card); }
.mk-step-num {
    font-family: 'Playfair Display', serif;
    font-size: 36px; font-weight: 600;
    color: var(--mk-coral);
    margin-bottom: 16px;
}
.mk-step h3 { font-size: 22px; margin-bottom: 12px; }
.mk-step p { color: var(--mk-mute); font-size: 15px; }

/* =================================================================
   FEATURES (image + list)
================================================================= */
.mk-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.mk-features-image img {
    width: 100%; border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow);
}
.mk-features-text .mk-section-title { margin-bottom: 30px; }
.mk-feature-list { list-style: none; }
.mk-feature-list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--mk-line);
    font-size: 16px; color: var(--mk-mute);
}
.mk-feature-list li:last-child { border-bottom: none; }
.mk-feature-list li strong {
    display: block;
    color: var(--mk-ink);
    font-weight: 600;
    margin-bottom: 4px;
    font-family: 'Playfair Display', serif;
    font-size: 19px;
}

/* =================================================================
   STATS BAND
================================================================= */
.mk-stats {
    background: linear-gradient(135deg, var(--mk-maroon) 0%, #4D1530 100%);
    padding: 60px 24px;
}
.mk-stats-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.mk-stat { text-align: center; color: var(--mk-white); }
.mk-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    margin-bottom: 8px;
    color: #F8D5A6;
}
.mk-stat-label { font-size: 14px; opacity: 0.85; }

/* =================================================================
   APP DOWNLOAD
================================================================= */
.mk-download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.mk-download-image img {
    width: 100%;
    max-width: 460px;
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow);
    margin: 0 auto;
}
.mk-download-lede { font-size: 17px; color: var(--mk-mute); margin-bottom: 28px; }
.mk-download-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.mk-download-note { font-size: 13px; color: var(--mk-mute); }

/* =================================================================
   CLOSING CTA BAND
================================================================= */
.mk-cta-band {
    background:
        linear-gradient(135deg, rgba(121,36,77,0.92), rgba(43,27,34,0.95)),
        url('/images/website/haldi-yellow.png') center/cover;
    padding: 100px 24px;
    text-align: center;
    color: var(--mk-white);
}
.mk-cta-band-inner { max-width: 720px; margin: 0 auto; }
.mk-cta-band h2 {
    color: var(--mk-white);
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 18px;
}
.mk-cta-band p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* =================================================================
   ABOUT / CONTACT page hero
================================================================= */
.mk-page-hero {
    background: var(--mk-cream);
    padding: 100px 24px 60px;
    border-bottom: 1px solid var(--mk-line);
}
.mk-page-hero-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.mk-page-hero-title {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 600; margin-bottom: 20px;
}
.mk-page-hero-lede {
    font-size: 18px; color: var(--mk-mute);
    line-height: 1.7;
}

/* =================================================================
   STORY (about page)
================================================================= */
.mk-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}
.mk-story-image img {
    width: 100%; border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow);
}
.mk-story-text p {
    font-size: 16px; color: var(--mk-mute);
    margin-bottom: 18px;
}

/* =================================================================
   VALUES (about page)
================================================================= */
.mk-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.mk-value {
    padding: 32px;
    background: var(--mk-cream);
    border-radius: var(--mk-radius-lg);
    border: 1px solid var(--mk-line);
}
.mk-value-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    background: var(--mk-coral); color: var(--mk-white);
    border-radius: 50%;
    font-size: 22px; font-weight: 700;
    margin-bottom: 18px;
}
.mk-value h3 { font-size: 20px; margin-bottom: 10px; }
.mk-value p { color: var(--mk-mute); font-size: 15px; }

/* =================================================================
   CONTACT page
================================================================= */
.mk-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}
.mk-contact-card {
    padding: 24px;
    background: var(--mk-white);
    border-radius: var(--mk-radius);
    border: 1px solid var(--mk-line);
    margin-bottom: 18px;
}
.mk-contact-card h3 {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mk-mute);
    margin-bottom: 6px;
    font-weight: 600;
}
.mk-contact-link {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--mk-ink);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
.mk-contact-link:hover { color: var(--mk-coral); }
.mk-contact-card p {
    font-size: 14px; color: var(--mk-mute);
}

.mk-contact-form-wrap .mk-section-title { margin-bottom: 30px; }
.mk-contact-form label {
    display: block;
    margin-bottom: 18px;
}
.mk-contact-form label > span {
    display: block;
    font-size: 14px; font-weight: 600;
    margin-bottom: 6px;
    color: var(--mk-ink);
}
.mk-contact-form label > span em {
    font-weight: 400; color: var(--mk-mute); font-style: italic;
}
.mk-contact-form input,
.mk-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--mk-line);
    border-radius: var(--mk-radius);
    font-family: inherit; font-size: 15px;
    color: var(--mk-ink);
    background: var(--mk-white);
    transition: border-color 0.15s;
}
.mk-contact-form input:focus,
.mk-contact-form textarea:focus {
    outline: none;
    border-color: var(--mk-coral);
}
.mk-contact-form textarea { resize: vertical; min-height: 140px; }
.mk-form-note { font-size: 12px; color: var(--mk-mute); margin-top: 14px; }

.mk-form-success {
    padding: 16px 20px;
    background: #E8F5E9; color: #2E7D32;
    border-radius: var(--mk-radius);
    margin-bottom: 20px; font-weight: 500;
}
.mk-form-errors {
    padding: 16px 20px;
    background: #FFEBEE; color: #C62828;
    border-radius: var(--mk-radius);
    margin-bottom: 20px;
}
.mk-form-errors ul { list-style: none; }

/* =================================================================
   FOOTER
================================================================= */
.mk-footer {
    background: var(--mk-ink);
    color: rgba(255,255,255,0.8);
    padding: 70px 24px 30px;
}
.mk-footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}
.mk-footer .mk-brand-text { color: var(--mk-white); }
.mk-footer .mk-brand-mark { background: var(--mk-coral); }
.mk-footer-tagline {
    font-size: 14px; line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-top: 14px;
    max-width: 320px;
}
.mk-footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--mk-white);
    margin-bottom: 16px;
    font-weight: 600;
}
.mk-footer-col a {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.15s;
}
.mk-footer-col a:hover { color: var(--mk-coral); }

.mk-footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* =================================================================
   MOBILE
================================================================= */
@media (max-width: 900px) {
    .mk-nav-toggle { display: block; }
    .mk-nav-links {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--mk-white);
        flex-direction: column; align-items: stretch;
        padding: 16px 24px;
        gap: 0;
        border-bottom: 1px solid var(--mk-line);
    }
    .mk-nav-links.open { display: flex; }
    .mk-nav-links a { padding: 14px 0; border-bottom: 1px solid var(--mk-line); }
    .mk-nav-links a:last-child { border-bottom: none; }
    .mk-nav-cta { text-align: center; margin-top: 8px; }

    .mk-hero-card { padding: 32px 24px; }

    .mk-section { padding: 60px 20px; }
    .mk-section-title { margin-bottom: 36px; }

    .mk-steps,
    .mk-features-grid,
    .mk-download-grid,
    .mk-story-grid,
    .mk-values-grid,
    .mk-contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mk-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .mk-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .mk-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 540px) {
    .mk-stats-inner,
    .mk-footer-inner {
        grid-template-columns: 1fr;
    }
}

/* ============== LOGO (replaces .mk-brand-mark + .mk-brand-text) ============== */
.mk-brand-logo {
    height: 48px;
    width: auto;
    display: block;
}
.mk-brand-logo-footer {
    height: 72px;
}
@media (max-width: 720px) {
    .mk-brand-logo { height: 40px; }
    .mk-brand-logo-footer { height: 60px; }
}

/* ============== LEGAL PAGES (terms / privacy) ============== */
.mk-legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--mk-ink);
    line-height: 1.75;
}
.mk-legal-content .mk-legal-meta {
    color: var(--mk-mute);
    font-size: 14px;
    font-style: italic;
    margin-bottom: 32px;
}
.mk-legal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--mk-maroon);
    margin-top: 36px;
    margin-bottom: 12px;
}
.mk-legal-content p {
    margin-bottom: 16px;
    font-size: 16px;
}
.mk-legal-content ul {
    margin-bottom: 16px;
    padding-left: 22px;
}
.mk-legal-content ul li {
    margin-bottom: 8px;
    font-size: 16px;
}
.mk-legal-content a {
    color: var(--mk-coral);
    text-decoration: underline;
}
.mk-legal-content a:hover {
    color: var(--mk-maroon);
}
