:root {
  --bg-main: #f4f6f8;
  --bg-card: #ffffff;
  --bg-soft: #f4f6f8;

  --text-main: #333;
  --text-light: #666;

  --primary: #1e90ff;
  --nav-bg-mobile: rgba(30, 144, 255, 0.95);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL STYLES */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);    
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
}

/* HEADER / HERO */

header {
    position: relative;
}

header::before {
  pointer-events: none;
}


header::before {
    z-index: 0;
}

header > * {
    position: relative;
    z-index: 1;
}

header > * {
    position: relative;
    z-index: 1;
}


header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55); /* adjust darkness here */
    z-index: 0;
}

header {
    position: relative;
    color: white;
    text-align: center;
    padding: 80px 20px 100px;

    background-image: url("images/header-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



header h1 {
    font-size: 2.5rem;
}

header h2 {
    font-size: 1.5rem;
    margin-top: 10px;
}

#about p {
  text-align: justify;
  text-justify: inter-word;
}

header p {
    margin-top: 15px;
    font-size: 1.1rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}


/* NAVIGATION */
nav {
    margin-bottom: 30px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: white;
    font-weight: bold;
    font-size: 0.95rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* SECTIONS */
section {
    background: var(--bg-card);
    max-width: 1000px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 8px;
    animation: fadeIn 0.8s ease-in;
}

section h2 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* LISTS */
ul {
    list-style: none;
}

ul li {
    margin-bottom: 15px;
}

/* SERVICES */
.services {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card {
    background: var(--bg-soft);
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    min-width: 250px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: #1e90ff;
}

/* PORTFOLIO GRID */
.portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-item {
    background: var(--bg-soft);
    padding: 20px;
    border-radius: 8px;
}

/* PORTFOLIO IMAGE WRAPPER */
.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* PORTFOLIO IMAGE */
.portfolio-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

/* ZOOM EFFECT */
.portfolio-image:hover img {
    transform: scale(1.1);
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--primary) 85%, transparent);
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
    padding: 15px;

    pointer-events: none; /* 🔥 FIX: allow image clicks */
}

/* SHOW OVERLAY */
.portfolio-image:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin-bottom: 8px;
}

.overlay p {
    font-size: 0.9rem;
}

/* LIGHTBOX */

/* LIGHTBOX NAVIGATION */
.lightbox .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 60px;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.lightbox .prev {
    left: 30px;
}

.lightbox .next {
    right: 30px;
}

.lightbox .nav:hover {
    color: #1e90ff;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* CLOSE BUTTON */
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* CONTACT LINKS */
section a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: #fff;
    margin-top: 40px;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .services {
        flex-direction: column;
    }
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* FILTER BUTTONS */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.filter-btn {
    padding: 8px 18px;
    border: 2px solid #1e90ff;
    background: transparent;
    color: #1e90ff;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
     background: var(--primary);
    color: white;
}

/* LANGUAGE SWITCH */
.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
}

.lang-switch button {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 5px 10px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.lang-switch button.active {
    background: white;
    color: #1e90ff;
}

/* COMPONENTS */
.card {
    background: var(--bg-soft);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
/* NAVBAR WITH LOGO */

.dark-toggle {
  margin-left: 15px;
  z-index: 1002;
}


.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto 30px;
}

/* LOGO */
.logo img {
    height: 50px;
    width: auto;
}

/* MOBILE ADJUSTMENT */
@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
}
/* STICKY NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: transparent;
    padding: 15px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar.scrolled {
    background: rgba(30, 144, 255, 0.95);
}

/* Prevent content from touching edges */
.navbar {
    max-width: 100%;
}
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
/* HAMBURGER MENU */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px 0;
    transition: 0.3s;
}
.menu-toggle {
    z-index: 1001;
    position: relative;
}

/* MOBILE NAV */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background: #1e90ff;
        flex-direction: column;
        align-items: center;

        display: none;
        padding: 20px 0;

        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav-links {
        background: var(--nav-bg-mobile); /* or rgba(0,0,0,0.85) */
    }
}

.logo,
.logo a,
.logo img {
    pointer-events: auto;
}

.logo img {
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.dark-toggle {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

body,
section,
.card,
.service-card,
.portfolio-item,
footer {
  transition: background-color 0.3s ease, color 0.3s ease;
}





/* Bottom */
body.dark {
  --bg-main: #0f172a;
  --bg-card: #111827;
  --bg-soft: #1f2933;

  --text-main: #e5e7eb;
  --text-light: #9ca3af;

  --primary: #60a5fa;
  --nav-bg-mobile: rgba(15, 23, 42, 0.95);
}
/* PARTNERS */
.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.partners img {
  height: 60px;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.partners img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Dark mode support */
body.dark .partners img {
  filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
  .partners img {
    height: 45px;
  }
}
/* BACK TO TOP BUTTON */
#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;

  width: 45px;
  height: 45px;
  border-radius: 50%;

  background: var(--primary);
  color: white;
  border: none;

  font-size: 22px;
  font-weight: bold;
  cursor: pointer;

  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1500;
}

#backToTop:hover {
  transform: translateY(-4px);
}

/* Dark mode support */
body.dark #backToTop {
  background: var(--primary);
}

/* PRINT SHOP HERO */
.printshop-hero {
  background-image: url("images/printshop/banner.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.printshop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.printshop-hero * {
  position: relative;
  z-index: 1;
}
