/* Global Styles */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: radial-gradient(circle at top center, #1f2326 0%, #171a1c 80%);
  color: #e3e4e8;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

body.menu-open {
  overflow: hidden;
}

/* Typography */
h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #a5a9b0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  letter-spacing: -1px;
  text-align: center;
  margin-top: 40px;
  position: relative;
  padding: 0 10px;
}

h2 {
  color: #e3e4e8;
  font-size: 1.5rem;
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h3 {
  color: #e3e4e8;
  font-size: 1.2rem;
  margin: 0 0 8px 0;
  font-weight: 600;
}

p {
  margin: 4px 0 16px 0;
  line-height: 1.6;
  color: #c2c4cf;
  font-size: 1rem;
}

ul {
  margin: 6px 0 20px 18px;
  padding: 0;
  color: #c2c4cf;
  font-size: 1rem;
}

li {
  margin-bottom: 8px;
}

a {
  color: #3aa76d;
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: #55c084;
}

/* Header & Navigation */
header {
  display: flex;
  align-items: center;
  background: rgba(35, 36, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 28px;
  height: 110px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: height 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.logo img {
  height: 80px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0;
  transition: width 0.3s, height 0.3s;
}

.nav-bar {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 52px;
}

.nav-links {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: flex-start;
  align-items: center;
}

.nav-link {
  background: transparent;
  color: #e3e4e8;
  border: none;
  border-radius: 4px;
  margin: 0;
  padding: 0 16px;
  height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.3px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #3aa76d;
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 32px);
}

/* Burger Menu */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 38px;
  height: 38px;
  margin-left: 36px;
  margin-right: 0;
  position: relative;
}

.burger span {
  height: 4px;
  background: #e3e4e8;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
  width: 28px;
}

.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: rgba(35, 36, 38, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  padding: 32px 24px;
  display: none;
  flex-direction: column;
  gap: 14px;
  z-index: 1000;
  animation: slideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes slideIn {
  from {
    right: -300px;
    opacity: 0;
  }

  to {
    right: 0;
    opacity: 1;
  }
}

.menu-overlay.open {
  display: flex;
}

.menu-close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 32px;
  color: #ff6565;
  cursor: pointer;
  margin-bottom: 8px;
  margin-right: -8px;
  line-height: 1;
  font-weight: bold;
  padding: 4px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.menu-close-btn:hover {
  background: rgba(255, 101, 101, 0.2);
  transform: scale(1.1);
}

.menu-overlay a {
  color: #e3e4e8;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0;
  background: none;
  border: none;
  transition: all 0.2s ease;
  padding: 12px 10px;
  border-radius: 8px;
}

.menu-overlay a:hover {
  color: #3aa76d;
  background: rgba(58, 167, 109, 0.1);
  padding-left: 20px;
}

/* Layout Containers */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 0 16px;
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  box-sizing: border-box;
}

/* Hero Section */
.hero-section {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, #171a1c, transparent);
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease-out;
}

.hero-section:hover .hero-image {
  transform: scale(1.03);
}

/* Categories / Cards */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 70px;
}

.category-card {
  background: linear-gradient(145deg, #26282b, #1f2022);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  width: 230px;
  min-width: 190px;
  text-align: center;
  padding: 36px 24px 32px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(58, 167, 109, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(58, 167, 109, 0.3);
}

.category-icon {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.category-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.category-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #c2c4cf;
}

/* Contact Section & Forms */
.contact-section {
  background: rgba(35, 36, 38, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 600px;
  margin: 48px auto 32px auto;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.contact-section h2 {
  text-align: center;
}

.contact-section form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-section label {
  color: #c2c4cf;
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-weight: 500;
  margin-left: 4px;
}

.contact-section input,
.contact-section textarea {
  background: rgba(23, 26, 28, 0.6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  resize: vertical;
  box-sizing: border-box;
  width: 100%;
}

.contact-section input:focus,
.contact-section textarea:focus {
  border-color: #3aa76d;
  background: rgba(23, 26, 28, 0.9);
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 167, 109, 0.15);
}

.contact-section button {
  background: linear-gradient(135deg, #e3e4e8, #bfc3cb);
  color: #171a1c;
  border: none;
  border-radius: 12px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 100%;
}

.contact-section button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  filter: brightness(1.05);
}

.call-button {
  margin-top: 12px;
  display: inline-block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #3aa76d, #2d8a59);
  color: #ffffff;
  border-radius: 12px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(58, 167, 109, 0.25);
  border: none;
}

.call-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(58, 167, 109, 0.35);
  filter: brightness(1.05);
  color: #fff;
}

.form-note {
  font-size: 0.86rem;
  color: #9ea1a9;
  margin-top: 4px;
  line-height: 1.5;
  text-align: center;
}

/* Map */
.map-container {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  margin: 28px auto 0 auto;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* Sub-page Specific Styles (Box, Grid, About) */
.subtitle {
  color: #a6a8af;
  margin-bottom: 30px;
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.box,
.about-section {
  background: rgba(35, 36, 38, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  margin-bottom: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-section h2 {
  text-align: center;
}

.box:hover,
.about-section:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  background: rgba(35, 36, 38, 0.5);
}

.two-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.about-image {
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.profile-image {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  width: 100%;
  text-align: center;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 60px 0 30px;
  background: linear-gradient(to bottom, #171a1c, #131517);
  color: #a6a8af;
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  box-shadow: none;
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b4b9c3;
  text-decoration: none;
  margin: 0 16px;
  font-weight: 500;
  font-size: 1.01em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
  border-bottom: 1px solid #c0c3c7;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(23, 26, 28, 0.96);
  color: #e3e4e8;
  padding: 14px 12px;
  display: none;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cookie-text {
  flex: 1 1 260px;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.cookie-text a {
  color: #c2c7ff;
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-buttons button {
  background: #3aa76d;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cookie-buttons button:hover {
  background: #55c084;
}

/* Response Media Queries */
@media (max-width: 1100px) {
  header {
    height: 95px;
  }

  .logo img {
    height: 60px;
  }

  .nav-bar {
    margin-left: 28px;
  }

  .nav-links {
    gap: 12px;
  }

  .burger {
    margin-left: 18px;
  }
}

@media (max-width: 800px) {
  header {
    height: 70px;
    padding: 0 6px;
  }

  .logo img {
    height: 38px;
  }

  .nav-bar {
    margin-left: 16px;
  }

  .nav-links {
    gap: 5px;
  }

  .burger {
    margin-left: 10px;
  }

  .two-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  body {
    overflow-x: hidden;
  }

  .nav-links {
    display: none;
  }

  header {
    height: 60px;
    padding: 0 12px;
    justify-content: space-between;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo img {
    height: 36px;
    width: 60vw;
    max-width: 200px;
    object-fit: contain;
  }

  .nav-bar {
    margin-left: 0;
    flex: 0;
  }

  .burger {
    position: fixed;
    right: 8px;
    top: 10px;
    margin: 0;
    padding: 0;
    width: 44px;
    height: 44px;
    z-index: 102;
  }

  .burger span {
    width: 22px;
    height: 3px;
  }

  .hero-section {
    height: 50vh;
    min-height: 280px;
    border-radius: 20px;
  }

  .categories {
    gap: 16px;
    margin-bottom: 40px;
  }

  .category-card {
    width: 100%;
    min-width: unset;
  }

  h1 {
    font-size: 1.8rem;
  }

  footer {
    padding: 30px 16px;
  }
}