/* =========================
   Global Styles
========================= */
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

section {
    padding: 3rem 2rem;
    text-align: center;
}

/* Smooth transitions globally */
* {
    transition: all 0.3s ease-in-out;
}

/* =========================
   Theme Colors & Buttons
========================= */
.bg-maroon { background-color: #800000 !important; }

.btn-orange {
    background-color: orange;
    color: #fff !important;
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
}
.btn-orange:hover { background-color: #cc6600; }

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.btn-primary { background: orange; color: white; }
.btn-primary:hover { background: #cc5500; }
.btn-secondary { background: white; color: maroon; border: 2px solid maroon; }
.btn-secondary:hover { background: maroon; color: white; }

/* =========================
   Header & Navbar
========================= */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: maroon;
    padding: 1rem 2rem;
    color: #fff;
}
.site-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.navbar ul li { margin: 0 1rem; }
.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.navbar ul li a:hover { color: orange; }

/* Bootstrap navbar refinement */
.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    position: relative;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: orange;
    transition: width 0.3s;
}
.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* =========================
   Hero Section
========================= */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(128,0,0,0.6), rgba(128,0,0,0.6)),
    url('../images/hero-banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}
.hero-text {
    background: rgba(0,0,0,0.5);
    padding: 20px 40px;
    border-radius: 10px;
}
.hero h1, .hero p {
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

/* Hero Carousel Fix */
.carousel-item {
    height: 90vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}
.carousel-item .hero {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   Services Section Styling
========================= */
.services-section {
    background: #fdfdfd; /* light clean background */
    padding: 4rem 0;
}

.service-card {
    background: #fff;
    border: none;
    border-radius: 0; /* flush edges to look connected */
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add right-side divider line (only for first & second cards) */
.service-card:not(:last-child) {
    border-right: 2px solid rgba(128, 0, 0, 0.2); /* maroon faint divider */
}

/* Soft shadow on entire row */
.services-row {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Hover Effects */
.service-card:hover {
    background: #fff9f5; /* subtle warm highlight */
    transform: translateY(-6px);
}
.service-card:hover h3 {
    color: maroon;
}
.service-card:hover p {
    color: #444;
}

/* Service icons */
.service-card img.service-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}
.service-card:hover img.service-icon {
    transform: scale(1.15);
}

/* =========================
   Portfolio
========================= *//*
.portfolio {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: auto;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}
.portfolio-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
*/
/* =========================
   Contact
========================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: auto;
    padding: 3rem 2rem;
}
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
.contact-info {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}
.contact-info h3 { color: maroon; margin-top: 0; }

.success { background: #e6ffe6; border: 1px solid green; padding: 0.8rem; margin-bottom: 1rem; }
.error { background: #ffe6e6; border: 1px solid red; padding: 0.8rem; margin-bottom: 1rem; }

@media (max-width: 768px) {
    .contact-container { grid-template-columns: 1fr; }
}

/* =========================
   Floating Buttons
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
}
.whatsapp-float img { width: 30px; }
.whatsapp-float:hover { transform: scale(1.1); }

.quote-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: maroon;
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
}
.quote-float:hover {
    background: orange;
    transform: scale(1.1);
}

/* =========================
   Footer
========================= */
.site-footer {
    background: maroon;
    color: white;
    padding: 2rem;
    text-align: center;
    border-top: 3px solid orange;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.footer-links li a {
    color: orange;
    text-decoration: none;
}
.footer-links li a:hover {
    color: #ffcc80;
    text-decoration: underline;
}

/* =========================
   Page Headers
========================= */
.page-header {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, maroon, orange);
    color: #fff;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 1rem; }

.service-detail {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: auto;
    text-align: left;
}
.service-detail h2 { color: maroon; margin-bottom: 1rem; }
.service-detail ul { list-style: disc; margin-left: 2rem; margin-top: 1rem; }
.service-detail ul li { margin-bottom: 0.5rem; }
.alt-bg { background: #f9f9f9; }
/* ================================
   PORTFOLIO PAGE STYLING
   ================================ */

/* Portfolio layout enhancements */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: start;
    padding: 2rem 1rem;
}

/* Portfolio cards */
.portfolio-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.15);
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

/* Equal image size */
.portfolio-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Text inside card */
.portfolio-item h3 {
    color: #800000;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    font-size: 1.15rem;
}
.portfolio-item p {
    color: #555;
    padding: 0 1rem 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Glow + Pulse Animations */
@keyframes heartbeat-maroon {
    0% { box-shadow: 0 0 0 0 rgba(128, 0, 0, 0.4); }
    50% { box-shadow: 0 0 20px 8px rgba(128, 0, 0, 0.2); }
    100% { box-shadow: 0 0 0 0 rgba(128, 0, 0, 0.4); }
}

@keyframes heartbeat-orange {
    0% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4); }
    50% { box-shadow: 0 0 20px 8px rgba(255, 69, 0, 0.2); }
    100% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4); }
}

/* Hover Effects */
.portfolio-item:hover {
    transform: translateY(-8px) scale(1.03);
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Alternating glow animation */
.portfolio-item:nth-child(odd):hover {
    animation: heartbeat-maroon 1.5s infinite;
    box-shadow: 0 0 25px rgba(128, 0, 0, 0.4);
}
.portfolio-item:nth-child(even):hover {
    animation: heartbeat-orange 1.5s infinite;
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.4);
}

/* Subtle stagger effect for layout depth */
.portfolio-item:nth-child(even) {
    transform: translateY(10px);
}
.portfolio-item:nth-child(even):hover {
    transform: translateY(-8px) scale(1.03);
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .portfolio-item img {
        height: 220px;
    }
}
@media (max-width: 768px) {
    .portfolio-item img {
        height: 200px;
    }
    .portfolio-grid {
        gap: 1.5rem;
    }
}
/* Image container inside portfolio card */
.portfolio-image-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    border-bottom: none;
}

.portfolio-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Divider line below image */
.portfolio-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, maroon, orange);
    margin: 0 auto 1rem;
    width: 60%;
    border-radius: 2px;
}
/* =========================
   Portfolio Modal Styling
========================= */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.portfolio-modal.show { display: flex; animation: fadeIn 0.3s ease-in-out; }

.portfolio-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
}

.portfolio-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    color: #800000;
    cursor: pointer;
    transition: color 0.3s ease;
}
.portfolio-close:hover { color: orange; }

.portfolio-modal-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.portfolio-modal-image {
    flex: 1 1 50%;
    background: #f8f8f8;
}
.portfolio-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-modal-text {
    flex: 1 1 50%;
    padding: 2rem;
    text-align: left;
}
.portfolio-modal-text h2 {
    color: maroon;
    margin-bottom: 1rem;
}
.portfolio-modal-text p {
    color: #444;
    margin-bottom: 2rem;
}
.btn-get-quote {
    background: maroon;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s;
}
.btn-get-quote:hover {
    background: orange;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Responsive */
@media (max-width: 768px) {
    .portfolio-modal-body { flex-direction: column; }
    .portfolio-modal-image, .portfolio-modal-text { flex: 1 1 100%; }
}
.portfolio-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:active {
    transform: scale(0.97);
}

.portfolio-item * {
    pointer-events: none; /* ensures clicks pass through nested elements */
}
.show-more-btn {
    display: inline-block;
    margin-top: 12px;
    background: #800000; /* Maroon base */
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(128, 0, 0, 0.4);
}

.show-more-btn:hover {
    background: #a61e00; /* Slightly lighter maroon on hover */
    color: #ffb300; /* Golden orange text */
    box-shadow: 0 0 12px rgba(255, 179, 0, 0.6);
    transform: scale(1.05);
}

.show-more-btn:active {
    transform: scale(0.96);
    background: #660000;
}
/* Hide button by default */
.show-more-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Show when portfolio-item is hovered (desktop) or focused (mobile tap) */
.portfolio-item:hover .show-more-btn,
.portfolio-item:focus-within .show-more-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Optional: make button appear smoothly centered */
.portfolio-item {
    position: relative;
    text-align: center;
    padding-bottom: 1.2rem;
}

/* Ensure button is fully clickable on mobile */
.show-more-btn {
    display: inline-block;
    margin-top: 12px;
    background: #800000; /* Maroon base */
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(128, 0, 0, 0.4);
}

.show-more-btn:hover {
    background: #a61e00;
    color: #ffb300;
    box-shadow: 0 0 12px rgba(255, 179, 0, 0.6);
    transform: scale(1.05);
}
.portfolio-item.highlighted {
    box-shadow: 0 0 20px 4px #ffb300; /* golden glow */
    transform: scale(1.02);
    transition: all 0.4s ease;
}
/* FAQ Accordion Enhancements */
.accordion-button {
    background-color: #fff;
    transition: all 0.3s ease;
}
.accordion-button:not(.collapsed) {
    background-color: #800000;
    color: #ffd700 !important;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(128,0,0,0.25);
}
.accordion-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(128,0,0,0.15);
}
/* About Page Enhancements */
.border-gold {
    border-color: #ffd700 !important;
}

section.page-header, section.py-5 {
    scroll-margin-top: 80px;
}

/* Value cards hover */
.border-top.border-gold {
    transition: all 0.3s ease;
}
.border-top.border-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(128,0,0,0.2);
}

/* Text tones */
.text-gold {
    color: #ffd700 !important;
}
.text-maroon {
    color: #800000 !important;
}

/* Buttons */
.btn-maroon {
    background-color: #800000;
    color: #fff;
    border: none;
    transition: background-color 0.3s ease;
}
.btn-maroon:hover {
    background-color: #a00000;
    color: #fff;
}
/* =========================
   Our Journey Timeline
========================= */
.timeline {
    position: relative;
    max-width: 900px;
    margin: auto;
    padding: 2rem 0;
}
.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, maroon, orange);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}
.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    width: 50%;
}
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::before {
    content: "";
    position: absolute;
    top: 15px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: #ffd700;
    border: 4px solid maroon;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item.right::before {
    left: -10px;
}

.timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 4px solid #ffd700;
    position: relative;
    transition: all 0.3s ease;
}
.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(128,0,0,0.15);
}

/* Responsive Layout */
@media (max-width: 768px) {
    .timeline::after {
        left: 10px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 0;
    }
    .timeline-item.left, .timeline-item.right {
        left: 0;
    }
    .timeline-item::before {
        left: 0;
        top: 15px;
        margin-left: 0;
    }
}
.topbar a:hover {
    color: #c47f00; /* golden-orange hover */
}
/* ================================
   Pure Brand PRINTERS SERVICES STYLING
   ================================ */

/* Base Section */
.service-detail {
    padding: 70px 20px;
    background: #fff;
    transition: background 0.3s ease;
}

.alt-bg {
    background: #fdf8f5; /* subtle off-white/golden tone */
}

/* Layout */
.service-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.service-content.reverse {
    flex-direction: row-reverse;
}

/* Image Styling */
.service-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
}

.service-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(128, 0, 0, 0.25); /* Maroon glow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.service-image img:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.35);
}

/* Text Styling */
.service-text {
    flex: 1 1 450px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-text h2 {
    color: #800000; /* Pure Brand Maroon */
    font-size: 1.8rem;
    margin-bottom: 12px;
    border-left: 5px solid #cfa84a; /* golden accent */
    padding-left: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #111;
}

.service-text ul {
    margin-top: 10px;
    padding-left: 20px;
}

.service-text ul li {
    margin-bottom: 6px;
    color: #333;
}

.service-text ul li strong {
    color: #cfa84a; /* golden highlight */
}

/* Fade-in Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.9s ease forwards;
}

/* Trigger animation when visible */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ✅ Mobile Responsiveness */
@media (max-width: 768px) {
    .service-content,
    .service-content.reverse {
        flex-direction: column;
        text-align: center;
    }

    .service-text ul {
        text-align: left;
        margin: 0 auto;
        max-width: 90%;
    }

    .service-image img {
        max-width: 100%;
    }

    .service-text h2 {
        border-left: none;
        border-bottom: 3px solid #cfa84a;
        display: inline-block;
        padding-left: 0;
        padding-bottom: 4px;
    }
}
.map-container {
    margin-top: 15px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
