/* Reset & base */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root{
  --primary:#1e3c72;
  --primary-2:#2a5298;
  --accent:#ff6b35;
  --muted:#666;
  --card:#fff;
  --bg:#f6f7fb;
}
body{
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: #222;
  background: var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}
.container{ width:90%; max-width:1200px; margin:0 auto; }

/* Top bar */
.top-bar{ background:linear-gradient(90deg,var(--primary),var(--primary-2)); color:#fff; padding:8px 0; font-size:14px; }
.top-inner{ display:flex; justify-content:space-between; gap:10px; align-items:center; flex-wrap:wrap; }
.top-left, .top-right{ display:flex; gap:8px; align-items:center; }
.top-left i, .top-right i{ color:#ffd700; }

/* Header nav */
.header{ background: #fff; box-shadow:0 3px 12px rgba(0,0,0,0.06); position:sticky; top:0; z-index:1000; }
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:15px; }
.logo{ font-size:20px; font-weight:700; color:var(--primary-2); letter-spacing:1px; }

/* Nav */
.nav{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; background:none; border:none; font-size:20px; color:var(--primary-2); cursor:pointer; }
.nav-list{ list-style:none; display:flex; gap:18px; align-items:center; }
.nav-list a{ text-decoration:none; color:var(--primary-2); font-weight:600; padding:8px 6px; border-radius:6px; }
.nav-list a:hover{ background:rgba(42,82,152,0.08); }

.banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* optional */
  margin-bottom: 30px; /* spacing below banner */
}

/* Hero */
.hero{ background:linear-gradient(180deg, rgba(30,60,114,0.95), rgba(42,82,152,0.95)), url('../images/hero-bg.jpg') center/cover no-repeat; color:#fff; padding:80px 0; text-align:center; }
.hero h1{ font-size:36px; margin-bottom:12px; letter-spacing:0.3px; }
.hero p{ font-size:18px; margin-bottom:18px; color:rgba(255,255,255,0.9); }
.cta{ display:inline-block; background:linear-gradient(45deg,var(--accent),#f7931e); color:#fff; padding:12px 26px; border-radius:999px; text-decoration:none; font-weight:700; box-shadow:0 8px 25px rgba(255,107,53,0.18); }

/* Sections */
.section-title{ text-align:center; color:var(--primary-2); font-size:28px; margin-bottom:22px; margin-top:8px; }

/* Services grid */
.services{ padding:48px 0; }
.services-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px; }

/* Service card with tilt effect */
.service-card{
  background:var(--card);
  padding:20px;
  border-radius:12px;
  box-shadow:0 6px 20px rgba(32,40,60,0.06);
  text-align:center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover,
.service-card:active {
  transform: perspective(800px) rotateX(4deg) rotateY(4deg) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.service-icon{ font-size:36px; color:var(--primary-2); margin-bottom:10px; }

/* Gallery */
/* Gallery Section */
.gallery {
  padding: 28px 0 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer; /* item itself clickable */
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  user-select: none; /* prevent image selection */
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item figcaption {
  padding: 10px 12px;
  color: var(--muted, #666);
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
  user-select: none;
}

/* Lightbox Styles */
.lightbox {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: zoom-out;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  user-select: none;
}

.close-lightbox {
  position: fixed;
  top: 20px;
  right: 25px;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 1100;
  user-select: none;
  transition: color 0.3s ease;
}

.close-lightbox:hover {
  color: #ddd;
}

/* Content / Modern tiles */
.content-section{ padding:36px 0; background:#fff; margin-bottom:18px; border-radius:10px; box-shadow:0 8px 30px rgba(20,30,50,0.03); }
.content-section .container{ padding:22px; }
.content-section h2{ margin-bottom:12px; color:var(--primary-2); font-size:24px; }
.content-section p{ margin-bottom:12px; color:#444; }
.content-section h3{ margin-top:18px; margin-bottom:10px; color:var(--primary-2); }

/* Table */
.table-wrap{ overflow:auto; margin-top:12px; margin-bottom:16px; }
.price-table{ width:100%; border-collapse:collapse; min-width:640px; }
.price-table th, .price-table td{ padding:12px 14px; border:1px solid #e6e9ef; text-align:left; }
.price-table thead th{ background:linear-gradient(90deg,var(--primary),var(--primary-2)); color:#fff; font-weight:700; }

/* Tips list */
.tips{ margin-left:18px; margin-bottom:12px; color:#333; }

/* Sizes grid */
.sizes-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; margin:12px 0; }
.sizes-grid div{ background:#fafafa; padding:12px; border-radius:8px; border:1px dashed #eee; }

/* Calculator */
.calculator-section{ padding:32px 0; background:transparent; }
.calc-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; align-items:end; margin-top:12px; }
.calc-row label{ display:block; font-weight:600; margin-bottom:6px; color:var(--muted); }
.calc-row input{ width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:8px; }
.calc-actions{ grid-column:1/-1; display:flex; gap:10px; }
.btn{ background:var(--primary-2); color:#fff; padding:10px 14px; border:none; border-radius:8px; cursor:pointer; font-weight:700; }
.btn-light{ background:#fff; color:var(--primary-2); border:1px solid #ddd; }
.calc-result{ grid-column:1/-1; padding:12px; background:rgba(42,82,152,0.06); border-radius:8px; color:var(--primary-2); font-weight:700; }

/* Contact */
.contact-section{ padding:32px 0; }
.contact-inner{ display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:start; }
.contact-left{ background:#fff; padding:18px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.04); }
.contact-right .contact-form{ display:flex; flex-direction:column; gap:10px; background:#fff; padding:18px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.04); }
.contact-right input, .contact-right textarea{ padding:10px; border:1px solid #ddd; border-radius:8px; }

/* Footer */
.footer{ background:linear-gradient(90deg,var(--primary),var(--primary-2)); color:#fff; padding:14px 0; text-align:center; margin-top:22px; border-radius:6px; }

.whatsapp-float, .instagram-float, .facebook-float {
  position: fixed;
  width: 50px;
  height: 50px;
  right: 20px;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  line-height: 50px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.2s, background-color 0.3s;
}

.whatsapp-float {
  background: #25d366;
  bottom: 20px;
}

.instagram-float {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  bottom: 80px;
}

.facebook-float {
  background: #1877f2;
  bottom: 140px;
}

.whatsapp-float:hover, .instagram-float:hover, .facebook-float:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 980px){
  .hero h1{ font-size:28px; }
  .nav-list{ gap:10px; }
  .top-inner{ flex-direction:column; align-items:flex-start; gap:6px; }
}
@media (max-width: 768px){
  .nav-toggle{ display:block; }
  .nav-list{ position:absolute; right:12px; top:66px; background: linear-gradient(180deg,#fff,#fff); border-radius:8px; box-shadow:0 8px 20px rgba(20,30,50,0.08); flex-direction:column; padding:10px; display:none; min-width:200px; z-index:1100; }
  .nav-list.show{ display:flex; }
  .nav-list a{ color:var(--primary-2); padding:10px 12px; display:block; }
  .header-inner{ padding:12px 0; }
  .contact-inner{ grid-template-columns:1fr; }
  .calc-grid{ grid-template-columns:1fr; }
  .sizes-grid{ grid-template-columns:1fr; }
  .gallery-item img{ height:160px; }
  .content-section .container{ padding:16px; }
}

