/* style.css */
:root {
    --primary: #1e3a8a;
    /* Deep blue */
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --accent: #f59e0b;
    /* Amber/Gold */
    --accent-hover: #d97706;
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --text-dark: #0f172a;
    --text-white: #f8fafc;

    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-main);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white) !important;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-white) !important;
}

.w-100 {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

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

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

/* Section Elements */
.section-padding {
    padding: 6rem 5%;
}

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

.section-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.serif-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.header-divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 5%;
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    /* Initial color on hero */
}

nav.scrolled .logo {
    color: var(--primary);
}

.logo-img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

nav.scrolled .logo-img {
    border-color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.nav-links li a {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

nav.scrolled .nav-links li a {
    color: var(--text-dark);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
nav.scrolled .nav-links li a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

nav.scrolled .hamburger {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #081329;
    /* Deep dark blue */
    background-image: none;
    color: white;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bottom-glow {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 20px;
    /* Minimal height for lowest possible dissolve */
    background: linear-gradient(to top, #ffffff 0%, #ffffff 50%, rgba(255, 255, 255, 0.3) 90%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #eab308;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-shadow: none;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-tags .tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 4s ease-in-out infinite;
}

.hero-tags .tag:nth-child(even) {
    animation-delay: 1s;
}

.hero-tags .tag:nth-child(3n) {
    animation-delay: 2s;
}

.hero-tags .tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: default;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.hero-buttons .btn-primary {
    background-color: #facc15;
    color: #000;
    box-shadow: 0 0 0 rgba(250, 204, 21, 0.4);
    animation: pulse-yellow 2s infinite;
}

.hero-buttons .btn-primary:hover {
    background-color: #eab308;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(234, 179, 8, 0.4);
    animation: none;
}

@keyframes pulse-yellow {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(250, 204, 21, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }
}

.hero-buttons .btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    transition: all 0.4s ease;
}

.hero-buttons .btn-outline:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(30, 58, 138, 0.4), transparent);
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: inline-block;
}

.stat-box .plus {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 700;
}

.stat-box p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Services */
.services {
    background: var(--bg-light);
    /* Off-white / light grey */
    color: var(--text-main);
    position: relative;
}

.services .section-header p {
    color: var(--text-light);
}

.services .section-header h2 {
    color: var(--text-dark);
}

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

.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(59, 130, 246, 0.15);
    background: white;
}

.service-card:hover::after {
    background: linear-gradient(135deg, var(--accent) 0%, rgba(245, 158, 11, 0) 50%, var(--primary-light) 100%);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: white;
    transform: rotateY(180deg) scale(1.1);
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Custom Printing Hub */
.bg-main {
    background-color: var(--bg-main);
}

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

.print-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease;
}

.print-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.print-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #f1f5f9;
}

.print-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.print-content h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.print-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-inquire {
    background-color: #f1f5f9;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-inquire:hover {
    background-color: var(--text-dark);
    color: white;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-overlay p {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2,
.contact-info .subtitle {
    color: white;
}

.contact-info .subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.info-item h4 {
    color: white;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 1rem;
}

.contact-map-container {
    height: 100%;
    min-height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 10px;
    /* Small border-like padding */
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    display: block;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

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

/* Footer */
footer {
    background: #0b1120;
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.appear,
.slide-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.fade-delay-1 {
    transition-delay: 0.2s;
}

.fade-delay-2 {
    transition-delay: 0.4s;
}

/* Responsive Media Queries */
@media (max-width: 992px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

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

    .nav-links li a {
        color: var(--text-dark);
        font-size: 1.25rem;
    }

    nav.scrolled .nav-links li a {
        color: var(--text-dark);
    }

    .hamburger {
        display: block;
        z-index: 1001;
        /* Above nav links */
    }

    .hamburger.active {
        color: var(--text-dark);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-form-container {
        padding: 2rem;
    }
}