/* ==========================================================================
   ALTOSECURITY - STYLES (www.alty.cl)
   Exact replica of PDF presentation brochure & interactive landing page
   ========================================================================== */

:root {
  --primary-red: #E31B23;
  --dark-bg: #0A0B0E;
  --card-bg: #12141C;
  --border-color: rgba(255, 255, 255, 0.1);
  --text-main: #FFFFFF;
  --text-muted: #A0A5B5;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 4px;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227, 27, 35, 0.3);
  padding: 0.8rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.domain-tag {
  background: rgba(227, 27, 35, 0.15);
  border: 1px solid var(--primary-red);
  color: #FF5A5F;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-menu a:hover, .nav-menu a.active {
  color: #FFF;
}

.btn-contact {
  background: var(--primary-red);
  color: #FFF !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(227, 27, 35, 0.5);
}

/* Slide Section Styling */
.slide-section {
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--dark-bg);
}

.slide-img {
  width: 100%;
  max-width: 100vw;
  height: auto;
  display: block;
}

/* Modal Slide Viewer */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay.active {
  display: flex;
}

.modal-content-img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(227, 27, 35, 0.3);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--primary-red);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Contact Form Section */
.contact-block {
  background: var(--card-bg);
  border: 1px solid var(--primary-red);
  border-radius: 16px;
  padding: 3rem;
  margin-top: 3rem;
  box-shadow: 0 0 30px rgba(227, 27, 35, 0.2);
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
}

/* Footer */
footer {
  background: #060709;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .desktop-only {
    display: none;
  }
  .nav-menu {
    gap: 0.5rem;
  }
  .btn-contact {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  .contact-block {
    padding: 1.5rem;
  }
  .nav-logo img {
    height: 38px;
  }
  main {
    margin-top: 60px !important;
  }
}
