@import url('https://fonts.googleapis.com/css2?family=Ruda:wght@400;600;700&display=swap');

:root {
  --accent: #42a6c4;
  --accent-dark: #33839c;
  --dark: #313b48;
  --white: #ffffff;
  --text: #333333;
  --muted: #666666;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Ruda', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Ruda', sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.6em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top-bar { background: var(--dark); color: #d8dce2; font-size: 0.85rem; padding: 8px 20px; }
.top-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.top-bar a { color: #d8dce2; }
.top-bar a:hover { color: var(--white); }

.site-header { background: var(--white); border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; row-gap: 10px; padding: 14px 20px; max-width: 1100px; margin: 0 auto; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 56px; width: auto; }
.logo .logo-text { font-family: 'Ruda', sans-serif; font-weight: 700; color: var(--dark); line-height: 1.2; }
.logo .logo-text small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--muted); }

nav.main-nav > ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 26px; margin: 0; padding: 0; }
nav.main-nav a { color: var(--dark); font-size: 0.95rem; font-weight: 600; padding: 8px 0; display: block; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; color: var(--dark); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav.main-nav { display: none; width: 100%; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 0; padding: 10px 0 20px; }
  nav.main-nav li { border-top: 1px solid #eee; }
  nav.main-nav a { padding: 12px 0; }
}

/* Hero */
.hero {
  background: linear-gradient(rgba(30, 40, 46, 0.55), rgba(30, 40, 46, 0.55)), url('../images/hero-bg.png') center / cover no-repeat;
  color: var(--white);
  padding: 130px 0;
  text-align: center;
}
.hero h1 { color: var(--white); font-size: 2.6rem; letter-spacing: 0.5px; }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; }

.page-hero { background: var(--dark); color: var(--white); padding: 60px 0; text-align: center; }
.page-hero h1 { color: var(--white); font-size: 2.2rem; margin: 0; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--white); padding: 12px 30px; border-radius: var(--radius); font-weight: 600; border: 2px solid var(--accent); cursor: pointer; font-family: 'Ruda', sans-serif; font-size: 1rem; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Sections */
section { padding: 60px 0; }
section.alt { background: #f7f8f6; }
h2.section-title { text-align: center; margin-bottom: 40px; }

/* USP grid */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; text-align: center; }
@media (max-width: 860px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .usp-grid { grid-template-columns: 1fr; } }
.usp-card { padding: 15px; }
.usp-card h3 { color: var(--accent-dark); font-size: 1.05rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.service-card { border: 1px solid #eee; border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow 0.2s; }
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.service-card img { height: 190px; object-fit: cover; width: 100%; }
.service-card .service-body { padding: 20px; }
.service-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Brands */
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.brands-row img { max-height: 50px; width: auto; filter: grayscale(100%); opacity: 0.7; transition: 0.2s; }
.brands-row img:hover { filter: none; opacity: 1; }

/* Content block */
.content-block { max-width: 780px; margin: 0 auto; }
.content-block.center { text-align: center; }

/* Gallery + lightbox (shared pattern) */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery-grid button { border: none; padding: 0; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; display: block; }
.gallery-grid img { width: 100%; height: 150px; object-fit: cover; transition: transform 0.3s; }
.gallery-grid button:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; background: rgba(20, 24, 17, 0.92); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 88vw; max-height: 82vh; width: auto; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.9rem; opacity: 0.8; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 1.8rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.4rem; }
  .lightbox-close { width: 40px; height: 40px; font-size: 1.4rem; top: 10px; right: 10px; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card { background: var(--dark); color: var(--white); border-radius: var(--radius); padding: 30px; }
.contact-info-card h3 { color: var(--accent); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.contact-info-card p { margin: 0 0 20px; }
.contact-info-card a { color: var(--white); }
.contact-info-card a:hover { color: var(--accent); }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.form-field input, .form-field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #ccc; border-radius: var(--radius);
  font-family: 'Ruda', sans-serif; font-size: 1rem;
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* Footer */
footer.site-footer { background: var(--dark); color: #cfd2d9; padding: 50px 0 25px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); }
.footer-grid a { color: #cfd2d9; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.85rem; color: #9296a3; }
