:root {
  --bg: #0f0f10;
  --surface: #141416;
  --muted: #bdbdbd;
  --accent: #ffcc00;
  --accent-dark: #e6b800;
  --white: #ffffff;
  --card: #0f0f11;
  --glass: rgba(255,255,255,0.03);
  --shadow: 0 6px 18px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.logo img:hover {
  transform: scale(1.05);
}

/* Nav */
.main-nav { display: flex; align-items: center; }
.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 24px;
}
.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}
.menu a:hover {
  color: var(--accent);
}
.menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}
.menu a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.hamburger:focus { outline: 2px solid rgba(255,204,0,0.2); }
.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--white);
  display: block;
  margin: 4px 0;
  opacity: 0.9;
  transition: all 0.3s ease;
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  height: 92vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 72px;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.7));
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 30px;
  max-width: 1000px;
}
.hero-content h1 {
  font-size: clamp(32px, 6vw, 60px);
  margin: 0 0 12px 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-content p {
  margin: 0 0 20px 0;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 300;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,204,0,0.3);
}

/* Sections */
.section { padding: 80px 20px; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }
.container { max-width: 1200px; margin: 0 auto; }
.container.small { max-width: 1000px; }

h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}
h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: var(--accent);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Grid */
.grid { display: grid; gap: 20px; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: stretch; }
.card {
  display: flex;
  align-items: center;
  background: var(--card);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

/* Service Icons */
.service-icon {
  width: 24px;
  height: 24px;
  fill: var(--muted);
  margin-right: 10px;
  vertical-align: middle;
  transition: fill 0.3s ease;
}
.card:hover .service-icon {
  fill: var(--accent);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  border-color: var(--accent); /* #ffcc00 */
  box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
}

/* Responsive adjustments for gallery */
@media (max-width: 980px) {
  .gallery-grid img {
    height: 180px;
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .gallery-grid img {
    height: 160px;
  }
}
@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid img {
    height: 150px;
  }
}
/* Responsive adjustments for gallery */
@media (max-width: 980px) {
  .gallery-item img {
    height: 180px;
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .gallery-item img {
    height: 160px;
  }
}
@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item img {
    height: 150px;
  }
}

/* Contact */
.contact-wrap {
  display: flex;
  gap: 20px;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: space-between;
}
.contact-left {
  flex: 1 1 50%;
  min-width: 260px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  order: 1; /* Explicitly place contact info on the left */
}
.map-container {
  flex: 1 1 50%;
  min-width: 280px;
  max-width: 350px;
  order: 2; /* Explicitly place map on the right */
}
.contact-info {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.contact-info li {
  margin-bottom: 10px;
}
.contact-info a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-info a:hover {
  color: var(--accent);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.map-container:hover iframe {
  transform: translateY(-5px);
}

/* Socials Container */
.socials-container {
  display: flex;
  gap: 20px;
  justify-content: start;
  margin: 20px 0;
  flex-wrap: wrap;
}
.social-circle {
  width: 56px;
  height: 56px;
  background: var(--glass); /* rgba(255,255,255,0.03) */
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease, border 0.3s ease, box-shadow 0.3s ease;
  animation: breathe 3s ease-in-out infinite, popIn 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}
.social-circle svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  transition: fill 0.3s ease, transform 0.5s ease;
}
.social-circle:hover {
  transform: scale(1.15) rotate(180deg);
  border: 2px solid var(--accent); /* #ffcc00 */
  box-shadow: 0 6px 16px rgba(255, 204, 0, 0.5);
}
.social-circle:hover svg {
  fill: var(--accent); /* #ffcc00 */
}
.social-circle:nth-child(1) { animation-delay: 0.1s; }
.social-circle:nth-child(2) { animation-delay: 0.3s; }
.social-circle:nth-child(3) { animation-delay: 0.5s; }

/* Animations */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  80% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments for socials */
@media (max-width: 600px) {
  .socials-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .social-circle {
    width: 48px;
    height: 48px;
  }
  .social-circle svg {
    width: 24px;
    height: 24px;
  }
}
@media (max-width: 400px) {
  .social-circle {
    width: 40px;
    height: 40px;
  }
  .social-circle svg {
    width: 20px;
    height: 20px;
  }
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 12px rgb(255, 204, 0); }
  50% { box-shadow: 0 4px 16px rgb(255, 251, 0); }
}
@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive adjustments for socials */
@media (max-width: 600px) {
  .socials-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .social-hex {
    width: 48px;
    height: 48px;
  }
  .social-hex svg {
    width: 24px;
    height: 24px;
  }
}
@media (max-width: 400px) {
  .social-hex {
    width: 40px;
    height: 40px;
  }
  .social-hex svg {
    width: 20px;
    height: 20px;
  }
}

/* Footer */
.site-footer {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  align-items: center;
  font-size: 0.95rem;
}

/* Accessibility helper */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* Responsive rules */
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .main-nav.active {
    display: block;
    position: absolute;
    top: 72px;
    right: 20px;
    background: linear-gradient(180deg, rgba(20,20,20,0.98), rgba(10,10,10,0.98));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 1200;
    animation: slideIn 0.3s ease-in-out;
  }
  .menu {
    flex-direction: column;
    gap: 12px;
  }
  .menu a {
    font-size: 1rem;
    padding: 8px 12px;
    display: block;
  }
  .hamburger {
    display: block;
  }
}

@media (max-width: 980px) {
  .menu { gap: 16px; }
  .hero { min-height: 60vh; }
  .contact-wrap {
    flex-direction: column;
    align-items: center;
  }
  .contact-left, .map-container {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    order: unset; /* Reset order for vertical stacking */
  }
  .map-container iframe {
    height: 350px;
  }
  .gallery-item img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .gallery-item img {
    height: 180px;
  }
  .socials-container a { height: 48px; width: 48px; }
  .socials-container a svg { height: 24px; }
  .map-container iframe { height: 300px; }
  .service-icon {
    width: 20px;
    height: 20px;
  }
  .card {
    font-size: 0.95rem;
    padding: 20px;
  }
}

@media (max-width: 400px) {
  .gallery-item img { height: 150px; }
  .socials-container a { height: 40px; width: 40px; }
  .socials-container a svg { height: 20px; }
  .socials-container a::before { font-size: 0.9rem; padding: 0.4em 0.8em; }
  .socials-container a::after { border-top-width: 8px; }
  .map-container iframe { height: 250px; }
  .service-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }
  .card {
    font-size: 0.9rem;
    padding: 16px;
  }
}

/* Animation for mobile menu */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Small tweaks */
input, textarea, button {
  font-family: inherit;
  font-size: 0.98rem;
}