/* 
   SRL Amon-Trade - Reorganization & Equipment Sale Stylesheet
   Design: Premium Industrial Dark Theme (Liquidation Mode)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #0a0a0c;
  --bg-secondary: #121216;
  --bg-tertiary: #1a1a22;
  
  --brand-primary: #ff6a00;      /* Safety Orange */
  --brand-primary-hover: #e05d00;
  --brand-primary-glow: rgba(255, 106, 0, 0.15);
  
  --sale-badge-bg: #ff6a00;
  --sale-badge-text: #ffffff;
  
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 106, 0, 0.5);
  
  /* Fonts */
  --font-headers: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & scroll behavior */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #2a2a35;
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(10, 10, 12, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 0.5rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.logo span {
  color: var(--brand-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--brand-primary);
  position: relative;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon::after {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--bg-primary);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-primary);
  transition: var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--brand-primary);
  color: var(--text-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.nav-cta:hover {
  background: var(--brand-primary-hover);
  box-shadow: 0 0 15px var(--brand-primary-glow);
  transform: translateY(-1px);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-btn {
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.lang-btn.active {
  background: var(--brand-primary);
  color: var(--text-primary);
}

.lang-btn:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* Hero & Announcement Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 10rem 2rem 5rem;
  background: linear-gradient(135deg, rgba(10,10,12,0.98) 0%, rgba(20,20,25,0.95) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 50% 30%, rgba(255, 106, 0, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(30, 30, 40, 0.4) 0%, transparent 50%);
  opacity: 0.8;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.005) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.005) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  width: 100%;
}

.hero-tag {
  background: rgba(255, 106, 0, 0.1);
  color: var(--brand-primary);
  border: 1px solid rgba(255, 106, 0, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--brand-primary);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.7;
}

/* Alert Notification Panel inside Hero */
.notice-box {
  background: rgba(255, 106, 0, 0.05);
  border: 1px solid rgba(255, 106, 0, 0.18);
  border-radius: 6px;
  padding: 1.8rem 2.2rem;
  max-width: 750px;
  text-align: left;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.notice-icon {
  color: var(--brand-primary);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.notice-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.notice-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.notice-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.notice-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--text-primary);
  border: 1px solid var(--brand-primary);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 6rem 2rem;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  color: var(--brand-primary);
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--brand-primary);
  border-radius: 2px;
}

/* Machinery Liquidation Catalog */
.sale-grid {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.sale-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.sale-card:hover {
  border-color: var(--border-focus);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  transform: translateY(-5px);
}

/* Sale Badge */
.sale-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  background: var(--sale-badge-bg);
  color: var(--sale-badge-text);
  font-family: var(--font-headers);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sale-img-container {
  width: 100%;
  height: 250px;
  background: #181820;
  position: relative;
  overflow: hidden;
}

.sale-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(45deg, rgba(26,26,34,0.7) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(26,26,34,0.7) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(26,26,34,0.7) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(26,26,34,0.7) 75%);
  background-size: 20px 20px;
  background-color: #121216;
  color: var(--text-muted);
  gap: 0.5rem;
}

.sale-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--brand-primary);
  opacity: 0.9;
}

.sale-placeholder span {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sale-stripe-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--brand-primary),
    var(--brand-primary) 10px,
    #121216 10px,
    #121216 20px
  );
}

.sale-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex-grow: 1;
}

.sale-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.sale-category {
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sale-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.sale-price-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-primary);
}

.sale-specs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  color: var(--text-secondary);
}

.sale-spec-row {
  display: flex;
  justify-content: space-between;
}

.sale-spec-val {
  color: var(--text-primary);
  font-weight: 600;
}

.sale-action {
  width: 100%;
  margin-top: auto;
}

/* Contact Grid Section */
.contact-container {
  display: grid;
  grid-template-cols: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-heading {
  font-size: 1.8rem;
  font-weight: 700;
}

.contact-desc {
  color: var(--text-secondary);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  padding: 1.2rem;
  border-radius: 4px;
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 106, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-method-detail {
  display: flex;
  flex-direction: column;
}

.contact-method-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.contact-method-value {
  font-size: 0.98rem;
  font-weight: 600;
}

/* Official Requisites box */
.requisites-card {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--brand-primary);
  padding: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.requisites-card strong {
  color: var(--text-primary);
}

/* Contact Form styling */
.contact-form-wrapper {
  background: rgba(26, 26, 34, 0.5);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  background: rgba(10, 10, 12, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

/* Target option styles inside select field */
.form-input option {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-glow);
}

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

/* Status Notifications */
.form-status {
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
  font-weight: 500;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* Footer */
footer {
  background: #060608;
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 450px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-col-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col-list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-col-list a:hover {
  color: var(--brand-primary);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-left: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submitting .btn-loader {
  display: inline-block;
}

.btn-submitting span {
  opacity: 0.7;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-primary);
  border-radius: 4px;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-left-color: #10b981;
}

.toast.error {
  border-left-color: #ef4444;
}

.toast-close {
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 700;
}

.toast-close:hover {
  color: var(--text-primary);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-cols: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .form-row {
    grid-template-cols: 1fr;
    gap: 1rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 1rem;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .logo-icon {
    width: 28px;
    height: 28px;
  }
  
  .logo-icon::after {
    width: 10px;
    height: 10px;
  }
  
  .hero {
    padding-top: 8rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .notice-box {
    padding: 1.2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
