:root {
  --it-blue: #008fb5;
  --laser-red: #ff2424;
  --dark: #1a1a2e;
  --light: #f5f6fa;
  --white: #ffffff;
  --text: #2d3436;
  --text-muted: #636e72;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --radius: 10px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.navbar-logo img {
  height: 44px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.navbar-links a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 2px;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--it-blue);
  transition: width var(--transition);
}

.navbar-links a:hover {
  color: var(--it-blue);
}

.navbar-links a:hover::after {
  width: 100%;
}

.btn-get-quote {
  background: var(--it-blue);
  cursor:pointer;
  color: var(--white);
  border: 2px solid var(--it-blue);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(0, 143, 181, 0.35);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-get-quote:hover {
  background: #007a9e;
  cursor:pointer;
  box-shadow: 0 5px 16px rgba(0, 143, 181, 0.5);
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../img/background.jpg') center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 720px;
  padding: 2rem;
}

.hero-subtitle {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

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

.hero-btn {
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.btn-support {
  background: #006d8a;
  border-color: #006d8a;
  box-shadow: 0 4px 16px rgba(0, 143, 181, 0.5);
}

.btn-support:hover {
  box-shadow: 0 6px 20px rgba(0, 143, 181, 0.65);
}

.btn-design {
  background: var(--laser-red);
  border-color: var(--laser-red);
  box-shadow: 0 4px 16px rgba(248, 56, 56, 0.58);
}

.btn-design:hover {
  box-shadow: 0 6px 20px rgba(248, 56, 56, 0.58);
}

/* ── Services Section ── */
.services {
  padding: 5rem 2rem;
  background: var(--light);
}

.services-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
}

.service-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 5px solid transparent;
  padding: 2.5rem 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card.it-card {
  border-left-color: var(--it-blue);
  box-shadow: 0 6px 20px rgba(0, 143, 181, 0.15);
}

.service-card.laser-card {
  border-left-color: var(--laser-red);
  box-shadow: 0 6px 20px rgba(255, 36, 36, 0.15);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.service-card-header svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.it-card .service-card-header svg {
  color: var(--it-blue);
}

.laser-card .service-card-header svg {
  color: var(--laser-red);
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.45rem 0;
}

.service-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.it-card .service-item svg {
  color: var(--it-blue);
}

.laser-card .service-item svg {
  color: var(--laser-red);
}

/* ── Service Card Button ── */
.service-card-btn {
  display: inline-block;
  margin-top: 1.75rem;
  background: var(--it-blue);
  color: var(--white);
  border: 2px solid var(--it-blue);
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(0, 143, 181, 0.35);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-card-btn:hover {
  background: #007a9e;
  box-shadow: 0 5px 16px rgba(0, 143, 181, 0.5);
  transform: translateY(-1px);
}

.service-card-btn-r {
  display: inline-block;
  margin-top: 1.75rem;
  background: var(--laser-red);
  color: var(--white);
  border: 2px solid var(--laser-red);
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(248, 56, 56, 0.58);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-card-btn-r:hover {
  background: var(--laser-red);
  box-shadow: 0 5px 16px rgba(248, 56, 56, 0.918);
  transform: translateY(-1px);
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--white);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-info a:hover {
  color: var(--white);
}

.footer-location {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Hamburger Menu Button ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .navbar {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .navbar-links {
    display: none;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    order: 3;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    font-size: 0.85rem;
  }

  .hero-subtitle {
    font-size: 1.75rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
  }

  .services {
    padding: 3rem 1rem;
  }

  .services-container {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info {
    align-items: center;
  }
}

/* ═══════════ WordPress theme additions ═══════════
   These classes are NOT present in the original static site — they support
   WP-specific elements such as form flash messages and the Booking Calendar
   placeholder slot. They live at the end of index.css so the base styles
   remain a 1:1 mirror of the original project. */

/* Flash messages on the Contact page */
.socioti-flash {
  max-width: 760px;
  margin: 1.5rem auto;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
}
.socioti-flash-ok {
  background: rgba(37, 211, 102, 0.12);
  color: #1a8a4a;
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.socioti-flash-error {
  background: rgba(255, 36, 36, 0.1);
  color: var(--laser-red);
  border: 1px solid rgba(255, 36, 36, 0.4);
}

/* Booking Calendar placeholder (shown when shortcode not configured yet) */
.socioti-booking-placeholder {
  background: var(--light);
  border: 2px dashed #b5c5d0;
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}
.socioti-booking-placeholder p {
  font-size: 0.95rem;
  margin: 0;
}

/* Single project detail (single-projects.php) */
.socioti-project-content {
  margin-top: 1.25rem;
}
.socioti-project-content p {
  margin-bottom: 1rem;
  line-height: 1.65;
  color: var(--text);
}
.socioti-project-content img {
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Footer widgets (only rendered if a widget is assigned) */
.footer-widgets {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}
.footer-widget {
  margin-bottom: 1rem;
}
.footer-widget-title {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

/* ═════════════════════════════════════════════════════════
   Floating social button (Buttonizer)
   Anchored to the bottom-left corner on every page. The Buttonizer
   plugin renders its own button bubble inside .socioti-float-social;
   we just provide the fixed container + z-index + desktop/mo bile
   spacing. The buttonizer content itself is styled by the plugin.
   ═════════════════════════════════════════════════════════ */
.socioti-float-social {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
}
.socioti-float-social > div,
.socioti-float-social .buttonizer {
  margin: 0 !important;
  padding: 0 !important;
}

/* Keep the bubble clear of the mobile nav / footer-bottom on small screens */
@media (max-width: 768px) {
  .socioti-float-social {
    left: 0.85rem;
    bottom: 0.85rem;
  }
}

/* On very small heights, shift up slightly so it never overlaps
   critical footer-bottom text. */
@media (max-height: 480px) {
  .socioti-float-social {
    bottom: 0.5rem;
  }
}
