/* ==========================================================================
   Indu Printers - Premium Print E-commerce UI
   ========================================================================== */

/* --- 1. Variables & Design System --- */
:root {
    /* Colors - Corporate Trust & Clean */
    --primary-blue: #13398D;   /* Vistaprint/Printo style trust blue */
    --primary-hover: #0E2963;
    --accent: #F59E0B;         /* Soft warm accent for CTAs if needed */
    
    /* Backgrounds */
    --pure-white: #FFFFFF;
    --off-white: #F9FAFB;      /* Very subtle section separation */
    --light-grey: #F1F5F9;
    
    /* Typography Colors */
    --text-main: #1E293B;      /* Main reading text */
    --text-muted: #64748B;
    
    /* UI Elements */
    --border-light: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --max-width: 1280px;
    --section-padding: 80px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
}

/* --- 2. Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--pure-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-blue); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-hover); }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--text-main); }
h1 { font-size: 3rem; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; margin-bottom: 1.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: 0.5rem; }
.section-title p { font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-padding) 0; }
.bg-offwhite { background-color: var(--off-white); }
.bg-primary { background-color: var(--primary-blue); color: var(--pure-white); }
.bg-primary h2, .bg-primary p, .bg-primary a { color: var(--pure-white); }

/* --- 3. UI Components --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--pure-white) !important;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background-color: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}
.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--pure-white);
}

/* --- 4. Header & Navigation --- */
.header {
    background-color: var(--pure-white);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.brand-logo img {
    height: 48px; 
    width: auto;
    object-fit: contain;
}
.nav-menu-wrapper { display: flex; align-items: center; gap: 32px; }
.nav-menu { display: flex; gap: 24px; }
.nav-link {
    color: var(--text-main);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-md);
}
.nav-link:hover, .nav-link.active {
    background-color: var(--off-white);
    color: var(--primary-blue);
}

/* --- 5. Page Sections --- */

/* Hero */
.hero {
    padding: 60px 0;
    background-color: var(--off-white);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content h1 {
    color: var(--text-main);
}
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}
.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Product Cards (Services) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}
.product-card {
    background: var(--pure-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}
.product-image {
    width: 100%;
    height: 240px;
    background-color: var(--off-white);
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-content h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--text-main); }
.product-content p { margin-bottom: 24px; font-size: 0.9375rem; flex-grow: 1; }
.product-cta {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9375rem;
}
.product-card:hover .product-cta { text-decoration: underline; }

/* Features (Why Us) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.feature-icon {
    width: 64px;
    height: 64px;
    background-color: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-blue);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}
.contact-info {
    background-color: var(--off-white);
    padding: 40px;
}
.contact-form-area { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.form-control {
    width: 100%; padding: 12px 16px; font-family: var(--font-sans);
    border: 1px solid var(--border-light); border-radius: var(--radius-md);
    background: var(--pure-white); color: var(--text-main);
    transition: border-color var(--transition-fast);
}
.form-control:focus { outline: none; border-color: var(--primary-blue); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Footer */
.footer { 
    background-color: var(--primary-blue);
    color: var(--pure-white);
    padding: 80px 0 40px; 
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer p, .footer h4 { color: var(--pure-white); }
.footer-col h4 { opacity: 0.8; font-size: 0.875rem; text-transform: uppercase; margin-bottom: 24px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--pure-white); opacity: 0.9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 24px; 
    display: flex; justify-content: space-between; 
    font-size: 0.875rem; 
    opacity: 0.8; 
}

/* Utils */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.desktop-only { display: block; }
.hamburger { display: none; }
.honeypot-field { display: none; }

/* Mobile Menu */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .hamburger { display: block; background: none; border: none; }
    .hamburger svg { stroke: var(--text-main); }
    .nav-menu-wrapper {
        position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px);
        background: var(--pure-white); flex-direction: column; align-items: flex-start;
        padding: 24px; transform: translateX(100%); transition: transform var(--transition-fast);
    }
    .nav-menu-wrapper.is-open { transform: translateX(0); }
    .nav-menu { flex-direction: column; width: 100%; gap: 8px; }
    .nav-link { width: 100%; }
    
    .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .top-bar-content { flex-direction: column; text-align: center; gap: 8px; }
}

/* --- 6. New Sections (Flow) --- */

/* Top Bar */
.top-bar {
    background-color: var(--text-main);
    color: var(--pure-white);
    font-size: 0.8125rem;
    padding: 8px 0;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-content a { color: var(--pure-white); font-weight: 600; text-decoration: underline; }

/* Portfolio Masonry */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item.large { grid-column: span 2; height: 400px; }
.portfolio-item.small { height: 300px; }

/* How We Work (Timeline) */
.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
}
.timeline-step { position: relative; z-index: 1; }
.timeline-num {
    width: 80px; height: 80px;
    background: var(--primary-blue);
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 10px var(--pure-white);
}

/* FAQ Accordion */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
    background: var(--pure-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-question {
    width: 100%; text-align: left; background: none; border: none;
    padding: 24px; font-size: 1.125rem; font-weight: 600; font-family: var(--font-sans);
    color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-answer { padding: 0 24px 24px; color: var(--text-muted); display: none; }
.faq-item.active .faq-answer { display: block; }

/* Final CTA */
.final-cta {
    background-color: var(--primary-blue);
    color: var(--pure-white);
    text-align: center;
    padding: 80px 24px;
    border-radius: var(--radius-lg);
    margin-top: 40px;
}
.final-cta h2 { color: var(--pure-white); }

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: var(--pure-white);
    border-top: 1px solid var(--border-light);
    padding: 24px 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cookie-text p { margin: 0; font-size: 0.875rem; color: var(--text-main); }
.cookie-actions { display: flex; gap: 16px; flex-shrink: 0; }

@media (max-width: 768px) {
    .timeline { grid-template-columns: 1fr; gap: 60px; }
    .timeline::before { display: none; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item.large { grid-column: span 1; }
}
