/**
 * Main Stylesheet
 * Vaishnavi Printers Website
 */

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
}

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

/* Header */
.site-header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Track Order */
.track-order-section {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.page-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.track-form-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-hint {
    display: block;
    text-align: center;
    margin: 0.5rem 0;
    color: var(--text-light);
    font-weight: 600;
}

/* Track Results */
.track-results {
    margin-top: 2rem;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.order-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.order-header h4 {
    color: var(--primary-color);
}

.order-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.order-status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.status-order-received { background: #dbeafe; color: #1e40af; }
.status-design-in-progress { background: #fef3c7; color: #92400e; }
.status-design-approved { background: #d1fae5; color: #065f46; }
.status-printing-in-progress { background: #e0e7ff; color: #3730a3; }
.status-printing-done { background: #ddd6fe; color: #5b21b6; }
.status-ready-for-delivery { background: #fed7aa; color: #9a3412; }
.status-delivered { background: #86efac; color: #166534; }

/* Timeline */
.status-timeline h5 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 1.5rem;
    bottom: -0.5rem;
    width: 2px;
    background: var(--border-color);
}

.timeline-item.active .timeline-marker {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border-color);
    z-index: 1;
}

.timeline-content {
    padding-left: 0.5rem;
}

.timeline-status {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.timeline-notes {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Features */
.features-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* About Preview */
.about-preview {
    padding: 4rem 0;
}

.content-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    line-height: 1.8;
}

/* Dynamic Content */
.dynamic-content {
    line-height: 1.8;
}

.dynamic-content h1,
.dynamic-content h2,
.dynamic-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.dynamic-content h1 {
    font-size: 2rem;
    color: var(--primary-color);
}

.dynamic-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.dynamic-content p {
    margin-bottom: 1rem;
}

.dynamic-content ul,
.dynamic-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.dynamic-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* Page Hero (for About, Contact, Services) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.page-hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-content-section {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.about-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.about-text {
    line-height: 1.8;
    color: var(--text-dark);
}

.awards-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
}

/* Why Choose Section */
.why-choose-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-details {
    line-height: 1.8;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.btn-whatsapp:hover {
    background: #128C7E;
    text-decoration: none !important;
}

.contact-hours {
    margin-top: 3rem;
}

.hours-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 2.5rem;
    border-radius: 0.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hours-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

.day {
    font-weight: 600;
}

.time {
    opacity: 0.9;
}

/* Services Page Styles */
.services-section {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }

    .track-order-section {
        padding: 1rem;
    }

    .about-grid,
    .contact-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hours-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

