/* ========================================
   360 PROYECTOS - Design System
   Architecture: Scalable for full website
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties (Design Tokens)
   ---------------------------------------- */
:root {
  /* Brand Colors */
  --color-bg-primary: #171818;
  --color-bg-secondary: #1e1f1f;
  --color-text-primary: #d9d9d9;
  --color-text-secondary: #a0a0a0;
  --color-accent: #7a6200;
  --color-accent-light: #9a7d20;
  
  /* Typography */
  --font-primary: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  --font-weight-thin: 100;
  --font-weight-ultra-light: 200;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-heavy: 800;
  --font-weight-black: 900;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Layout */
  --max-width: 1200px;
  --border-radius: 0;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ----------------------------------------
   Font Face Declarations - Helvetica Neue
   ---------------------------------------- */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('/fonts/helvetica-neue-5/HelveticaNeueThin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('/fonts/helvetica-neue-5/HelveticaNeueUltraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('/fonts/helvetica-neue-5/HelveticaNeueLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('/fonts/helvetica-neue-5/HelveticaNeueRoman.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('/fonts/helvetica-neue-5/HelveticaNeueMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('/fonts/helvetica-neue-5/HelveticaNeueBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('/fonts/helvetica-neue-5/HelveticaNeueHeavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('/fonts/helvetica-neue-5/HelveticaNeueBlack.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------
   Base Styles & Reset
   ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-light);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------
   Landing Page Specific Styles
   ---------------------------------------- */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.landing-content {
  width: 100%;
  max-width: 900px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo Section */
.landing-logo {
  width: 100%;
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.landing-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Divider Line */
.landing-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  margin: var(--space-xl) 0;
  border: none;
}

/* Website Link */
.landing-website {
  font-size: 1.125rem;
  font-weight: var(--font-weight-light);
  color: var(--color-text-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  margin-bottom: var(--space-2xl);
}

.landing-website:hover {
  color: var(--color-accent);
}

/* Countries */
.landing-countries {
  font-size: 0.875rem;
  font-weight: var(--font-weight-light);
  color: var(--color-text-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ----------------------------------------
   Animation & Effects
   ---------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-content > * {
  animation: fadeIn 0.8s var(--transition-normal) forwards;
  opacity: 0;
}

.landing-content > *:nth-child(1) { animation-delay: 0.1s; }
.landing-content > *:nth-child(2) { animation-delay: 0.3s; }
.landing-content > *:nth-child(3) { animation-delay: 0.5s; }
.landing-content > *:nth-child(4) { animation-delay: 0.7s; }

/* ----------------------------------------
   Responsive Design
   ---------------------------------------- */
@media (max-width: 768px) {
  .landing-content {
    padding: var(--space-lg);
  }
  
  .landing-logo {
    max-width: 400px;
  }
  
  .landing-website {
    font-size: 1rem;
  }
  
  .landing-countries {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 480px) {
  .landing-content {
    padding: var(--space-md);
  }
  
  .landing-logo {
    max-width: 280px;
  }
  
  .landing-website {
    font-size: 0.875rem;
  }
  
  .landing-countries {
    font-size: 0.6875rem;
  }
}

/* ----------------------------------------
   Future Website Components (Scaffolding)
   ---------------------------------------- */

/* Header/Navigation - for future expansion */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) var(--space-lg);
  background-color: transparent;
  transition: background-color var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(23, 24, 24, 0.95);
  backdrop-filter: blur(10px);
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  height: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-links a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: var(--font-weight-light);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* Section - for future expansion */
.section {
  padding: var(--space-3xl) var(--space-lg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-light);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

/* Button - for future expansion */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--color-accent);
  background-color: transparent;
  color: var(--color-accent);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn:hover {
  background-color: var(--color-accent);
  color: var(--color-bg-primary);
}
