/*
* Print420 Website Styles
* Author: Clone creator
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fbf4f3;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #cc4148;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    border: none;
    text-align: center;
}

.btn:hover {
    background-color: #b93039;
}

.btn-order {
    display: block;
    padding: 8px 15px;
    background-color: #cc4148;
    color: white;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.btn-order:hover {
    background-color: #b93039;
}

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

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 12px;
}

.nav-links a {
    color: #473c3f;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #cc4148;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 5%;
    background: linear-gradient(to right, #fbf4f3, #f4aeae);
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h2 {
    color: #cc4148;
    font-size: 24px;
    margin-bottom: 10px;
}

.hero-text h1 {
    color: #473c3f;
    font-size: 40px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text p {
    color: #666;
    margin-bottom: 25px;
    font-size: 18px;
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img img {
    max-width: 100%;
    height: auto;
}

/* Services Section */
.services {
    padding: 60px 5%;
    text-align: center;
    background-color: white;
}

.services h2 {
    color: #cc4148;
    font-size: 32px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #473c3f;
    margin: 15px 0;
    font-size: 22px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.price-tag {
    background-color: #cc4148;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

/* Service Process Section */
.service-process {
    padding: 60px 5%;
    text-align: center;
    background-color: #fff;
}

.service-process h2 {
    color: #cc4148;
    font-size: 32px;
    margin-bottom: 10px;
}

.service-process p {
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.process-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.process-box {
    background-color: #fbf4f3;
    border-radius: 8px;
    padding: 20px;
    width: 170px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-box h3 {
    color: #473c3f;
    font-size: 16px;
    margin-top: 10px;
}

.arrow {
    color: #cc4148;
    font-size: 24px;
    font-weight: bold;
}

/* Why Choose Us Section */
.why-choose {
    padding: 60px 5%;
    text-align: center;
    background-color: #fbf4f3;
}

.why-choose h2 {
    color: #cc4148;
    font-size: 32px;
    margin-bottom: 40px;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.choose-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.choose-card:hover {
    transform: translateY(-10px);
}

.choose-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.choose-card h3 {
    color: #473c3f;
    margin-bottom: 10px;
    font-size: 20px;
}

.choose-card p {
    color: #666;
    font-size: 16px;
}

/* Testimonials Section */
#testimonials {
    background-color: white;
    padding: 60px 5%;
    text-align: center;
}

.testimonial-card {
    background-color: #fbf4f3;
    padding: 20px;
    border-radius: 8px;
    margin: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card .rating {
    color: #ffbb00;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-style: italic;
}

.testimonial-card .user {
    margin-top: 15px;
    font-weight: bold;
}

/* FAQs Section */
.faqs {
    padding: 60px 5%;
    text-align: center;
    background-color: #fbf4f3;
}

.faqs h2 {
    color: #cc4148;
    font-size: 32px;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 15px 20px;
    background-color: white;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #473c3f;
}

.faq-question .arrow {
    transition: transform 0.3s;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    text-align: left;
    color: #666;
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 200px;
}

/* Contact Section */
#reach {
    padding: 60px 5%;
    text-align: center;
    background-color: #fbf4f3;
}

#reach h2 {
    color: #cc4148;
    font-size: 32px;
    margin-bottom: 40px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    text-align: center;
}

/* Footer Styles */
footer {
    background-color: #f9e9e9;
    padding: 50px 5% 20px;
    color: #473c3f;
}

.footer-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.footer-intro h2 {
    font-size: 24px;
    color: #cc4148;
    margin-bottom: 10px;
}

.footer-intro .underline {
    height: 3px;
    width: 50px;
    background-color: #cc4148;
    margin: 10px auto;
}

.footer-intro p {
    color: #666;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #473c3f;
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #666;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #cc4148;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #cc4148;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #473c3f;
}

.social-icons .facebook::before {
    content: "f";
    font-weight: bold;
}

.social-icons .instagram::before {
    content: "i";
    font-weight: bold;
}

.social-icons .youtube::before {
    content: "y";
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 14px;
}

.footer-bottom .policy-link {
    color: #cc4148;
    text-decoration: underline;
}

.footer-bottom .policy-link:hover {
    color: #473c3f;
}

/* Forms */
.form-container {
    max-width: 400px;
    margin: 30px auto;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #473c3f;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #473c3f;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-control:focus {
    border-color: #cc4148;
    outline: none;
}

.form-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
}

.alert {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Product Pages */
.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 40px 5%;
    background-color: white;
}

.product-image {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h2 {
    color: #cc4148;
    font-size: 28px;
    margin-bottom: 15px;
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.price {
    display: inline-block;
    background-color: #f8d7da;
    color: #cc4148;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.preview-container {
    padding: 40px 5%;
    background-color: #fbf4f3;
}

.preview-container h2 {
    text-align: center;
    color: #473c3f;
    margin-bottom: 30px;
}

.preview-images {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.preview-images > div {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
}

.preview-images h3 {
    margin-bottom: 20px;
    color: #473c3f;
}

.preview-images img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px dashed #ddd;
    padding: 10px;
}

.shipping-container {
    padding: 40px 5%;
    background-color: white;
}

.shipping-container h2 {
    text-align: center;
    color: #cc4148;
    margin-bottom: 30px;
}

.shipping-container form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.shipping-container input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.shipping-container input:focus {
    border-color: #cc4148;
    outline: none;
}

.sticky-order-btn {
    display: block;
    width: 200px;
    margin: 30px auto;
    padding: 12px 0;
    background-color: #cc4148;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 5px 15px rgba(204, 65, 72, 0.4);
}

.sticky-order-btn:hover {
    background-color: #b93039;
}

/* Orders Page */
.orders-container {
    padding: 40px 5%;
    min-height: 400px;
}

.orders-container h1 {
    text-align: center;
    color: #cc4148;
    margin-bottom: 30px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.orders-table th,
.orders-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.orders-table th {
    background-color: #f2f2f2;
    color: #473c3f;
    font-weight: 600;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.orders-table tr:hover {
    background-color: #f9f9f9;
}

.status-pending {
    color: #ffc107;
    font-weight: bold;
}

.status-processing {
    color: #0d6efd;
    font-weight: bold;
}

.status-completed {
    color: #198754;
    font-weight: bold;
}

.status-cancelled {
    color: #dc3545;
    font-weight: bold;
}

.error {
    text-align: center;
    color: #dc3545;
    padding: 20px;
    background-color: #f8d7da;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Login and Signup Page */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
    background-color: #f6f6f6;
}

.auth-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 380px;
}

.auth-form h2 {
    text-align: center;
    color: #473c3f;
    margin-bottom: 25px;
    font-size: 24px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #473c3f;
    font-weight: 500;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.auth-form input:focus {
    border-color: #cc4148;
    outline: none;
}

.auth-form button {
    width: 100%;
    padding: 12px;
    background-color: #cc4148;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.auth-form button:hover {
    background-color: #b93039;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #cc4148;
    text-decoration: underline;
}

.auth-links a:hover {
    color: #b93039;
}

/* Messages Container */
.messages-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }

    .hero-text {
        margin-bottom: 30px;
    }

    .hero-img {
        margin-top: 20px;
    }

    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        transition: left 0.3s;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .process-container {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .product-container {
        flex-direction: column;
    }

    .product-image {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .sticky-order-btn {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 32px;
    }

    .services h2,
    .why-choose h2,
    .faqs h2,
    #reach h2 {
        font-size: 28px;
    }

    .service-card,
    .choose-card {
        padding: 20px;
    }

    .footer-intro h2 {
        font-size: 22px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .preview-images > div {
        min-width: 100%;
    }
}
