/* Contact Modal Styles */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  font-family: 'Rubik', sans-serif;
  margin: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #374151;
}

.modal-body {
  padding: 2rem;
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Rubik', sans-serif;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.checkbox-group {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: 0.85rem;
  line-height: 1.5;
}

.submit-button {
  background: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Rubik', sans-serif;
}

.submit-button:hover {
  background: linear-gradient(135deg, #2c5aa0 0%, #4299e1 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4);
}

.contact-button {
  background: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

.contact-button:hover {
  background: linear-gradient(135deg, #2c5aa0 0%, #4299e1 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4) !important;
}

/* Responsive design for modal */
@media (max-width: 768px) {
  .contact-modal {
    padding: 0.5rem;
  }

  .modal-content {
    width: 100%;
    max-height: calc(100vh - 1rem);
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-header h2 {
    font-size: 1.25rem;
  }
}

/* Lightbox button hover effects */
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.95) !important;
  transform: scale(1.1);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Ensure lightbox content doesn't interfere with navigation */
.lightbox-content {
  pointer-events: none;
}

.lightbox-content img,
.lightbox-content video {
  pointer-events: auto;
}


/* Component Styles - Buttons, Cards, Forms, Interactive Elements */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  line-height: 1;
}

.btn-primary {
  background-color: #3182ce;
  color: white;
  border: 2px solid #3182ce;
}

.btn-primary:hover {
  background-color: #2c5aa0;
  border-color: #2c5aa0;
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2c5aa0 0%, #4299e1 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #374151;
  border: 2px solid #374151;
}

.btn-secondary:hover {
  background-color: #374151;
  color: white;
  transform: translateY(-2px);
}

.btn-white {
  background-color: white;
  color: #374151;
  border: 2px solid white;
}

.btn-white:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-2px);
}

/* Cards */
.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-content {
  padding: 2rem;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.card-text {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Image Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1.5rem 1.5rem;
  color: white;
}

.gallery-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-description {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Pricing Table */
.pricing-table {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.pricing-header {
  background: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  opacity: 0.9;
}

.pricing-content {
  padding: 0;
}

.pricing-row {
  display: flex;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  align-items: center;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row.header {
  background-color: #f8fafc;
  font-weight: 600;
  color: #374151;
}

.pricing-item {
  flex: 1;
  padding: 0 0.5rem 0 0.75rem;
}

.pricing-item:first-child {
  flex: 2;
  font-weight: 500;
  padding: 0 0.5rem 0 0.75rem;
}

/* Table data cells padding */
td {
  padding-left: 0.75rem;
}

/* Table symbols styling */
td:contains("✓") {
  color: #22c55e;
  font-weight: 700;
}

td:contains("✗") {
  color: #ef4444;
  font-weight: 700;
}

/* Alternative approach using specific classes if needed */
.check-symbol {
  color: #22c55e;
  font-weight: 700;
}

.x-symbol {
  color: #ef4444;
  font-weight: 700;
}

.pricing-price {
  font-weight: 600;
  color: #3182ce;
}

/* Contact Form */
.contact-form {
  background-color: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3182ce;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Improved Gallery Styling */
.gallery-tag {
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  padding: 12px 24px;
  margin: 0 8px;
}

.gallery-tag.active {
  background: linear-gradient(135deg, #3182ce, #2c5aa0);
  color: white;
  box-shadow: 0 8px 25px rgba(51, 130, 206, 0.3);
  border-color: #3182ce;
}

.gallery-tag.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.gallery-tag.active:hover::before {
  left: 100%;
}

.gallery-tag.inactive {
  background: white;
  color: #4a5568;
  border-color: #e2e8f0;
}

.gallery-tag.inactive:hover {
  background: #ebf8ff;
  color: #3182ce;
  border-color: #63b3ed;
  transform: translateY(-2px);
}

.gallery-section {
  display: none;
  margin-top: 0;
  padding-top: 1rem;
}

.gallery-section.active {
  display: grid;
  margin-top: 0;
  padding-top: 1rem;
}

.gallery-item {
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(51, 130, 206, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox Styling */
.lightbox {
  backdrop-filter: blur(4px);
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 50;
  align-items: center;
  justify-content: center;
}

.lightbox.hidden {
  opacity: 0;
  pointer-events: none;
}

.lightbox:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  font-size: 3rem;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.875rem;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
}

/* Overlays */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.overlay-dark {
  background: rgba(0, 0, 0, 0.5);
}

.overlay-gradient {
  background: linear-gradient(135deg, rgba(49, 130, 206, 0.9) 0%, rgba(99, 179, 237, 0.8) 100%);
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Feature Icons */
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* Header Component Styles */
.header {
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 24px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #374151;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-button {
  display: flex;
  align-items: center;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s;
}

.dropdown-button:hover {
  color: var(--primary-color);
}

.dropdown-icon {
  margin-left: 4px;
  width: 16px;
  height: 16px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 224px;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 50;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-content {
  padding: 8px 0;
}

.dropdown-link {
  display: block;
  padding: 8px 16px;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
}

.dropdown-link:hover {
  background-color: #f9fafb;
  color: var(--primary-color);
}

/* Language Switch */
.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-active {
  font-weight: 600;
  color: var(--primary-color);
}

.language-divider {
  color: #9ca3af;
}

.language-inactive {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.language-inactive:hover {
  color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  padding: 8px;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mobile-menu-toggle:hover {
  background-color: #f3f4f6;
}

.mobile-menu-icon {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  color: #374151;
  text-decoration: none;
  padding: 8px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-align: left;
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--primary-color);
}

.hidden {
  display: none !important;
}

/* Footer Component Styles */
.footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #63b3ed;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 2rem;
  text-align: center;
  color: #a0aec0;
}

.footer-bottom p {
  color: #a0aec0;
  margin: 0;
}

/* Footer legal section alignment */
.footer-legal-section {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: nowrap;
}

.footer-legal-links a {
  white-space: nowrap;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #3182ce;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-legal-section {
    justify-content: center;
  }
  
  .footer-legal-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile Contact Bar */
.mobile-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  z-index: 50;
  padding: 0;
}

.contact-bar-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  text-decoration: none;
  color: #ffffff;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-bar-item.phone {
  background: #22c55e;
}

.contact-bar-item.phone:hover {
  background: #16a34a;
}

.contact-bar-item.whatsapp {
  background: #25d366;
}

.contact-bar-item.whatsapp:hover {
  background: #128c7e;
}

.contact-bar-item.email {
  background: #3b82f6;
}

.contact-bar-item.email:hover {
  background: #2563eb;
}

.contact-bar-item svg {
  width: 24px;
  height: 24px;
}

/* Hide on desktop */
@media (min-width: 768px) {
  .mobile-contact-bar {
    display: none;
  }
}

/* Add bottom padding to body on mobile to prevent content overlap */
@media (max-width: 767px) {
  body {
    padding-bottom: 70px;
  }
}