/* JACK'S Digital Printing Services - Main Stylesheet */

:root {
    --primary-color: #003d99;
    --secondary-color: #ffa500;
    --accent-color: #ff6b35;
    --light-color: #f8f9fa;
    --dark-color: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation Styles */
.navbar {
    background: #fff !important;
    border-bottom: 2px solid var(--primary-color);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    margin: 0 10px;
    font-weight: 500;
    color: #333 !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052cc 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 50%;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-primary-custom {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.4);
}

.btn-secondary-custom {
    background-color: transparent;
    border: 2px solid white;
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-custom:hover {
    background-color: white;
    color: var(--primary-color);
}

.hero-image {
    max-width: 100%;
    height: auto;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin: 60px 0 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title::before,
.section-title::after {
    content: '';
    display: inline-block;
    width: 100px;
    height: 2px;
    background: var(--secondary-color);
    margin: 0 20px;
    vertical-align: middle;
}

/* Services Section */
.services-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 61, 153, 0.2);
}

.service-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.service-card-body {
    padding: 25px;
    flex-grow: 1;
}

.service-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-price {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 20px 0;
}

.step h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.step p {
    color: #666;
}

/* Track Order Section */
.track-section {
    background: linear-gradient(135deg, #2c5aa0 0%, var(--primary-color) 100%);
    padding: 60px 0;
    color: white;
}

.track-form {
    max-width: 500px;
    margin: 30px auto;
}

.track-form input {
    padding: 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.track-form button {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.track-form button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.contact-item p {
    display: inline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-form .form-control {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 61, 153, 0.25);
}

.contact-form button {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--secondary-color);
}

/* Order Form Styles */
.order-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.order-form .form-group label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.order-form .form-control,
.order-form .form-select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.order-form .form-control:focus,
.order-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 61, 153, 0.25);
}

/* Login/Register Page */
.auth-container {
    max-width: 500px;
    margin: 60px auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.auth-container h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.auth-container .form-group label {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-container button {
    background-color: var(--primary-color);
    border: none;
    padding: 12px;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.auth-container button:hover {
    background-color: var(--secondary-color);
}

.auth-link {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #ddd;
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

footer a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Orders Table */
.orders-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.orders-table table {
    margin-bottom: 0;
}

.orders-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.orders-table tbody tr:hover {
    background-color: #f8f9fa;
}

.badge {
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 600;
}

.badge-warning {
    background-color: #ffc107;
    color: #333;
}

.badge-info {
    background-color: #17a2b8;
}

.badge-success {
    background-color: #28a745;
}

.badge-danger {
    background-color: #dc3545;
}

/* Alerts */
.alert {
    border-radius: 5px;
    border: none;
    padding: 15px 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }

    .steps-container {
        flex-direction: column;
    }

    .map-container iframe {
        height: 300px;
    }

    .nav-link {
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-image {
        margin-top: 30px;
    }

    .section-title {
        margin: 40px 0 30px;
    }

    .contact-form,
    .order-form,
    .auth-container {
        padding: 20px;
    }

    .services-section,
    .how-it-works,
    .contact-section {
        padding: 40px 0;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.rounded-lg {
    border-radius: 15px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.transition {
    transition: all 0.3s ease;
}
