@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #2563eb; /* Modern Tech Blue */
    --primary-dark: #1d4ed8;
    --accent-color: #06b6d4;  /* Cyan Accent */
    --accent-dark: #0891b2;
    --light-bg: #f8fafc;
    --dark-text: #0f172a;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --hero-overlay: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(37, 99, 235, 0.6) 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 70px;
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    -webkit-font-smoothing: antialiased;
}

/* Custom App-like Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* --- Navbar (Glassmorphism) --- */
.navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    transition: all 0.3s ease;
}
.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}
.navbar-dark .navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}
.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
}
.navbar-toggler {
    border: none;
    color: var(--dark-text);
}
.navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-toggler-icon { filter: invert(1); } /* Dark icon for light navbar */

/* --- Buttons --- */
.btn {
    border-radius: 50px; /* Pill shape */
    padding: 10px 24px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}
.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}
.btn-accent:hover {
    background-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 182, 212, 0.4);
}
.btn-outline-light {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline-light:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    background: url('../images/hero_background.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    margin-top: -70px;
    padding-top: 70px;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-section h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.hero-section p.lead {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
}

/* --- App-like Service Tabs --- */
.service-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide for Firefox */
    padding: 5px 10px 20px 10px;
    gap: 10px;
    scroll-snap-type: x mandatory;
}
.service-tabs::-webkit-scrollbar { display: none; } /* Hide for Chrome/Safari */
.service-tabs .nav-item { scroll-snap-align: start; }
.service-tabs .nav-link {
    white-space: nowrap;
    color: var(--text-muted);
    background-color: var(--card-bg);
    border: none;
    box-shadow: var(--shadow-sm);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.service-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}
.service-tabs .nav-link.active .badge { color: var(--primary-color) !important; }

/* --- Modern Service Card --- */
.modern-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}
.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.service-icon-box {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 16px !important;
}
.modern-card:hover .service-icon-box {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* --- Gallery & Print Media --- */
.gallery-card {
    border-radius: 16px;
    border: none;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}
.gallery-card:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-card:hover img { transform: scale(1.08); }
.gallery-card .card-body { padding: 12px; background: rgba(255,255,255,0.9); }

/* --- Carousel Enhancements --- */
.carousel-control-prev, .carousel-control-next {
    width: 45px; height: 45px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    margin: 0 15px;
    transition: all 0.3s ease;
}
#galleryCarousel:hover .carousel-control-prev, #galleryCarousel:hover .carousel-control-next,
#printMediaCarousel:hover .carousel-control-prev, #printMediaCarousel:hover .carousel-control-next {
    opacity: 1;
}
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--primary-color); }
.carousel-indicators { bottom: -40px; }
.carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%;
    background-color: var(--text-muted); opacity: 0.5;
    border: none; margin: 0 6px; transition: all 0.3s;
}
.carousel-indicators .active {
    background-color: var(--primary-color);
    transform: scale(1.3);
    opacity: 1;
}

/* --- App-like Input Fields (Contact Form) --- */
.form-control {
    border-radius: 12px;
    border: 2px solid transparent;
    background-color: #f1f5f9;
    padding: 14px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* --- Section Styling --- */
section { padding: 90px 0; }
section h2 {
    font-weight: 800;
    color: var(--dark-text);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 10px;
}
section h2::after {
    content: '';
    position: absolute;
    width: 50px; height: 4px;
    background: var(--accent-color);
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* --- Footer --- */
footer {
    background: var(--dark-text) !important;
    padding: 20px 0;
    font-size: 0.9rem;
}
.social-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 45px; height: 45px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Mobile Adjustments (App feel) */
@media (max-width: 768px) {
    section { padding: 60px 0; }
    .hero-section { background-attachment: scroll; } /* Fix iOS fixed background issue */
    .btn { width: 100%; text-align: center; margin-bottom: 10px; } /* Full width buttons on mobile */
    .carousel-control-prev, .carousel-control-next { display: none; } /* Hide arrows on mobile, rely on swipe */
    .service-tabs .nav-link { padding: 10px 20px; font-size: 0.9rem; }
}