:root {
  --nascim-orange: rgba(108, 183, 68, 0.8);
  --nascim-bg: #ffffff;
  --nascim-gray-light: #fafafa;
  --nascim-gray: #f6f6f6;
  --nascim-text: #121212;
  --nascim-muted: #666;
  --nascim-border: #e7e7e7;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
    sans-serif;
  color: var(--nascim-text);
  background: var(--nascim-bg);
  line-height: 1.6;
}

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

a:hover {
  opacity: 0.9;
}

/* Header */
.header {
  z-index: 1030;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo img {
  height: 60px;
  width: auto;
}

.nav a {
  color: #111;
  opacity: 0.9;
  font-weight: 700;
  transition: opacity 0.2s;
  position: relative;
  display: inline-block;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #6cb945;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  opacity: 1;
}

.lang-toggle button {
  padding: 4px 8px;
  transition: all 0.2s;
}

.lang-toggle button.active {
  outline: 3px solid rgba(249, 115, 22, 0.3);
  border-color: var(--nascim-orange) !important;
}

.lang-toggle img {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  display: block;
}

/* Added mobile menu styles */
/* Hamburger Menu */
.hamburger-menu {
  color: var(--nascim-text);
  cursor: pointer;
}

.hamburger-menu:hover {
  color: var(--nascim-orange);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  border-top: 1px solid var(--nascim-border);
  margin-top: 1rem;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-link {
  padding: 0.75rem 0;
  color: var(--nascim-text);
  font-weight: 700;
  border-bottom: 1px solid var(--nascim-border);
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  color: var(--nascim-orange);
  padding-left: 0.5rem;
}

/* Mobile Language Toggle with Hover */
.lang-toggle-mobile {
  position: relative;
}

.lang-toggle-mobile .lang-current button {
  padding: 4px 8px;
  border-color: var(--nascim-orange) !important;
  outline: 3px solid rgba(249, 115, 22, 0.3);
}

.lang-toggle-mobile .lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid var(--nascim-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1040;
}

.lang-toggle-mobile:hover .lang-dropdown {
  display: flex;
}

.lang-toggle-mobile .lang-dropdown button {
  padding: 4px 8px;
  transition: all 0.2s;
}

.lang-toggle-mobile .lang-dropdown button:hover {
  border-color: var(--nascim-orange) !important;
  background-color: rgba(249, 115, 22, 0.1);
}
/* End of mobile menu styles */

/* Hero Section */
.hero {
  border-bottom: 1px solid var(--nascim-border);
}

/* Cards */
.card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1) !important;
}

.card .btn {
  background: #fff;
  color: #000;
  transition: all 0.2s;
}

.card .btn:hover {
  background: var(--nascim-orange);
  border-color: var(--nascim-orange) !important;
}

.detail {
  font-size: 14px;
  line-height: 1.6;
}

/* Added proper list styling for detail content */
.detail ul,
.detail ol {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.detail li {
  margin-bottom: 0.25rem;
  line-height: 1.6;
}

.detail li:last-child {
  margin-bottom: 0;
}

/* Added GLightbox custom styles for better mobile navigation */
/* GLightbox Custom Styles */
.glightbox-container {
  touch-action: pan-y pinch-zoom;
}

/* Make navigation arrows more visible on mobile */
.gslide-description {
  background: rgba(0, 0, 0, 0.75);
  padding: 20px;
}

/* Enhanced arrow visibility for mobile */
.gnext,
.gprev {
  background: rgba(0, 0, 0, 0.6) !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

.gnext:hover,
.gprev:hover {
  background: rgba(108, 183, 68, 0.9) !important;
  transform: scale(1.1) !important;
}

.gnext svg,
.gprev svg {
  width: 30px !important;
  height: 30px !important;
  stroke-width: 3px !important;
}

/* Mobile specific improvements */
@media (max-width: 768px) {
  .gnext,
  .gprev {
    width: 50px !important;
    height: 50px !important;
  }

  .gnext svg,
  .gprev svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Ensure arrows are visible and touchable */
  .gnext {
    right: 15px !important;
  }

  .gprev {
    left: 15px !important;
  }
}

/* Swipe indicator (optional visual cue) */
.gslide-media {
  position: relative;
}

/* Better touch feedback */
.gslide-image img {
  user-select: none;
  -webkit-user-drag: none;
}

/* Close button mobile optimization */
.gclose {
  background: rgba(0, 0, 0, 0.6) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  right: 15px !important;
  top: 15px !important;
}

.gclose:hover {
  background: rgba(255, 0, 0, 0.8) !important;
}

@media (max-width: 768px) {
  .gclose {
    width: 45px !important;
    height: 45px !important;
  }
}

/* Gallery */
.gallery-thumb {
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-thumb:hover {
  transform: scale(1.05);
}

/* Contact Blocks */
.contact-block {
  height: 100%;
}

.contact-block a {
  color: var(--nascim-orange);
}

.contact-block a:hover {
  text-decoration: underline;
}

/* Form */
#contact-form {
  max-width: 100%;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 12px;
  font-size: 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--nascim-orange);
  box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

/* Footer */
.footer {
  font-size: 14px;
}

.footer a {
  color: var(--nascim-muted);
}

.footer a:hover {
  color: var(--nascim-orange);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .nav {
    display: none !important;
  }

  /* Mobile header layout adjustments */
  .header .d-flex {
    position: relative;
  }

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

@media (max-width: 767.98px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Badge custom styling */
.badge {
  font-weight: 700;
}
