* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #e2e8f0; background: #0f172a; }
img { max-width: 100%; display: block; }
a { color: #60a5fa; text-decoration: none; }
a:hover { text-decoration: underline; }

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

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 23, 42, 0.95); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid #334155; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand h1 { margin: 0; font-size: 18px; line-height: 1.2; color: #f1f5f9; }
.brand .tagline { margin: 0; color: #94a3b8; font-size: 12px; }
.logo { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: white; display: grid; place-items: center; font-weight: 700; }
.nav { display: flex; align-items: center; flex-wrap: nowrap; }
.nav a { margin-left: 16px; color: #e2e8f0; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: #60a5fa; }
.lang-switch { margin-left: 16px; }
.lang-switch select { padding: 6px 8px; border-radius: 8px; border: 1px solid #475569; background: #1e293b; color: #e2e8f0; }

/* Mobile Menu Toggle */
.mobile-menu-toggle { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 30px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 10; }
.mobile-menu-toggle span { width: 25px; height: 3px; background: #e2e8f0; transition: all 0.3s linear; position: relative; transform-origin: 1px; }
.mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1,1); border: 0; }

.hero { 
  background-color: #0f172a;
  background-image: url('assets/art images/prod_20191218154204.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  border-bottom: 1px solid #334155;
  min-height: 400px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(1200px 400px at 10% 0%, rgba(30, 45, 59, 0.3) 0%, rgba(15, 23, 42, 0.4) 60%), 
    linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.3));
  z-index: 1;
}

.hero .container { 
  position: relative;
  z-index: 2;
  padding: 80px 20px; 
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}
.hero h2 { 
  font-size: 48px; 
  margin: 0 0 20px; 
  color: #ffffff; 
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  max-width: 800px;
}
.hero p { 
  margin: 0 0 32px; 
  color: #e2e8f0; 
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 600px;
}
.btn { 
  display: inline-block; 
  background: #3b82f6; 
  color: white; 
  padding: 14px 28px; 
  border-radius: 8px; 
  font-weight: 600; 
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}
.btn:hover { 
  background: #2563eb; 
  text-decoration: none; 
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  /* optional */
}

.section { padding: 56px 0; }
.section.muted { background: #1e293b; }
.section h3 { margin: 0 0 16px; font-size: 28px; line-height: 1.3; color: #f8fafc; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.two-col img { border-radius: 12px; border: 1px solid #475569; }

/* Carousel Styles */
.carousel-container { position: relative; }
.carousel { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid #475569; }
.carousel-track { display: flex; transition: transform 0.3s ease-in-out; }
.carousel-slide { width: 100%; height: 300px; object-fit: cover; flex-shrink: 0; display: none; }
.carousel-slide.active { display: block; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(30, 41, 59, 0.9); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; z-index: 2; transition: background 0.2s; color: #e2e8f0; }
.carousel-btn:hover { background: rgba(30, 41, 59, 1); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(148, 163, 184, 0.5); cursor: pointer; transition: background 0.2s; }
.dot.active { background: rgba(148, 163, 184, 1); }
.dot:hover { background: rgba(148, 163, 184, 0.8); }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 16px; padding-left: 18px; }
.services li { margin-bottom: 6px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { border: 1px solid #475569; border-radius: 12px; overflow: hidden; background: #1e293b; display: flex; flex-direction: column; }
.card img { order: 1; width: 100%; height: 180px; object-fit: cover; background: #334155; }
.card .card-body { order: 2; padding: 12px; display: flex; flex-direction: column; }
.card .title { order: 2; margin: 0; font-size: 14px; font-weight: 600; color: #f1f5f9; }
.card .caption { order: 1; margin: 0 0 6px; color: #94a3b8; font-size: 12px; }

.site-footer { border-top: 1px solid #475569; }
.site-footer .container { padding: 20px; text-align: center; color: #94a3b8; }

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .container { padding: 0 16px; }
  .hero .container { padding: 48px 16px; }
  .section { padding: 40px 0; }
  .section h3 { font-size: 26px; }
  .carousel-slide { height: 250px; }
  .carousel-btn { width: 38px; height: 38px; font-size: 17px; }
  .carousel-prev { left: 9px; }
  .carousel-next { right: 9px; }
  .carousel-dots { bottom: 12px; gap: 6px; }
  .dot { width: 8px; height: 8px; }
}

/* Mobile Landscape (481px - 768px) */
@media (max-width: 768px) {
  .site-header .container { padding: 12px 16px; }
  .brand h1 { font-size: 16px; }
  .brand .tagline { font-size: 11px; }
  .nav a { margin-left: 12px; font-size: 14px; }
  .lang-switch { margin-left: 12px; }
  .lang-switch select { padding: 4px 6px; font-size: 12px; }
  
  .hero { 
    background-attachment: scroll;
    background-position: center top;
  }
  .hero .container { 
    padding: 60px 16px; 
    min-height: 400px; 
  }
  .hero h2 { 
    font-size: 36px; 
    margin: 0 0 16px;
  }
  .hero p { 
    font-size: 16px; 
    margin: 0 0 24px;
  }
  .section h3 { font-size: 24px; }
  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .carousel-slide { height: 200px; }
  
  .carousel-btn { width: 36px; height: 36px; font-size: 16px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-dots { bottom: 10px; gap: 5px; }
  .dot { width: 7px; height: 7px; }
  
  .gallery { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
  .card .title { font-size: 13px; }
  .card .caption { font-size: 11px; }
  .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    /* optional */
  }
  
  /* Hide carousel dots on mobile */
  .carousel-dots { display: none; }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .site-header .container { padding: 10px 12px; flex-wrap: nowrap; }
  .brand { gap: 8px; }
  .brand h1 { font-size: 14px; }
  .brand .tagline { display: none; }
  .logo { width: 32px; height: 32px; font-size: 14px; }
  .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    /* optional */
  }
  
  .mobile-menu-toggle { display: flex; }
  .nav { 
    position: fixed; 
    top: 0; 
    left: -66vw; 
    width: 66vw; 
    height: 100vh; 
    background: rgba(15, 23, 42, 0.98); 
    backdrop-filter: blur(10px); 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    transition: left 0.3s ease; 
    z-index: 5;
  }
  .nav.active { left: 0; }
  .nav a { 
    margin: 16px 0; 
    font-size: 18px; 
    color: #e2e8f0; 
    text-decoration: none;
  }
  .nav a:hover { color: #60a5fa; }
  .lang-switch { margin-top: 20px; }
  .lang-switch select { padding: 8px 12px; font-size: 14px; }
  
  .hero { 
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
  }
  .hero .container { 
    padding: 40px 12px; 
    min-height: 350px; 
  }
  .hero h2 { 
    font-size: 30px; 
    margin: 0 0 12px;
  }
  .hero p { 
    font-size: 15px; 
    margin: 0 0 20px;
  }
  .btn { 
    padding: 12px 20px; 
    font-size: 15px; 
  }
  
  .section { padding: 32px 0; }
  .section h3 { font-size: 22px; }
  .two-col { gap: 16px; }
  .carousel-slide { height: 180px; }
  
  .services { grid-template-columns: 1fr; gap: 6px 12px; padding-left: 12px; }
  .services li { font-size: 14px; }
  
  .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .card .title { font-size: 12px; }
  .card .caption { font-size: 10px; }
  
  .carousel-btn { width: 32px; height: 32px; font-size: 14px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-dots { bottom: 8px; gap: 4px; }
  .dot { width: 6px; height: 6px; }
  
  .lightbox { padding: 16px; }
  .lightbox-close { width: 32px; height: 32px; font-size: 18px; }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
  .container { padding: 0 8px; }
  .site-header .container { padding: 8px; }
  .hero .container { padding: 24px 8px; }
  .hero h2 { font-size: 20px; }
  .nav a { margin: 12px 0; font-size: 16px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; min-width: 44px; }
  .carousel-btn { 
    min-height: 44px; 
    min-width: 44px; 
    width: 44px; 
    height: 44px; 
    font-size: 18px;
  }
  .dot { 
    min-height: 44px; 
    min-width: 44px; 
    width: 12px; 
    height: 12px; 
  }
  .mobile-menu-toggle { min-height: 44px; min-width: 44px; }
  .lang-switch select { min-height: 44px; }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo { image-rendering: -webkit-optimize-contrast; }
  .carousel-slide { image-rendering: -webkit-optimize-contrast; }
}

.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.9); display: none; align-items: center; justify-content: center; padding: 24px; flex-direction: column; }
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.6); }
.lightbox p { color: #e2e8f0; margin-top: 16px; text-align: center; font-size: 16px; font-weight: 500; width: 100%; max-width: min(92vw, 1100px); }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 999px; border: none; background: rgba(30, 41, 59, 0.8); color: #e2e8f0; font-size: 22px; cursor: pointer; }
.lightbox-close:hover { background: rgba(30, 41, 59, 1); }
/* Lightbox navigation */
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(30, 41, 59, 0.8); border: none; width: 44px; height: 44px; border-radius: 999px; color: #e2e8f0; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lightbox-nav:hover { background: rgba(30, 41, 59, 1); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

