/* =============================================
   ATLANOS - Trading Company
   Styles
   ============================================= */

/* ---------------------------------------------
   CSS Variables
   --------------------------------------------- */
:root {
  --deep-navy: #0a1628;
  --navy: #0f2139;
  --navy-light: #162d4a;
  --gold: #c9a05c;
  --gold-light: #dbb978;
  --gold-dark: #a67c3d;
  --cream: #f5f0e8;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------
   Reset & Base
   --------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--deep-navy);
  color: var(--white);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

/* ---------------------------------------------
   Typography
   --------------------------------------------- */
h1,
h2 {
  font-family: "Syncopate", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h3,
h4 {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------------------------------------------
   Background Pattern
   --------------------------------------------- */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  background-image: radial-gradient(
      circle at 25% 25%,
      var(--gold) 1px,
      transparent 1px
    ),
    radial-gradient(circle at 75% 75%, var(--gold) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* ---------------------------------------------
   Navigation
   --------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, var(--deep-navy), transparent);
  transition: background 0.4s ease;
}

nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo img {
  height: 40px;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ---------------------------------------------
   Hero Section
   --------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(201, 160, 92, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-logo {
  width: min(450px, 80vw);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1.2s ease 0.5s forwards;
}

.hero-tagline {
  font-family: "Open Sans", sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1.2s ease 0.8s forwards;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  color: var(--cream);
  margin-bottom: 2rem;
  line-height: 1.3;
  opacity: 0;
  animation: fadeInUp 1.2s ease 1s forwards;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1.2s ease 1.2s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards, float 3s ease-in-out infinite 2s;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ---------------------------------------------
   Sections Base
   --------------------------------------------- */
section {
  position: relative;
  z-index: 1;
  padding: 8rem 5%;
}

.section-label {
  font-family: "Open Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--cream);
  margin-bottom: 2rem;
}

/* ---------------------------------------------
   About Section
   --------------------------------------------- */
.about {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-navy) 100%);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-text p:first-of-type::first-letter {
  font-family: "Syncopate", sans-serif;
  font-size: 3.5rem;
  float: left;
  line-height: 0.85;
  padding-right: 0.5rem;
  color: var(--gold);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 160, 92, 0.15);
  transition: all 0.4s ease;
}

.stat-item:hover {
  background: rgba(201, 160, 92, 0.05);
  border-color: rgba(201, 160, 92, 0.3);
  transform: translateY(-5px);
}

.stat-number {
  font-family: "Syncopate", sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------------------------------------------
   Services Section
   --------------------------------------------- */
.services {
  background: var(--deep-navy);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem 2rem;
  background: linear-gradient(
    145deg,
    rgba(22, 45, 74, 0.5) 0%,
    rgba(15, 33, 57, 0.5) 100%
  );
  border: 1px solid rgba(201, 160, 92, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 160, 92, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  stroke: var(--gold);
  stroke-width: 0.75;
  fill: none;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------------------------------------------
   Philosophy Section
   --------------------------------------------- */
.philosophy {
  background: linear-gradient(
    180deg,
    var(--deep-navy) 0%,
    var(--navy) 50%,
    var(--deep-navy) 100%
  );
  text-align: center;
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy blockquote {
  font-family: "Open Sans", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.7;
  position: relative;
  padding: 2rem 0;
}

.philosophy blockquote::before,
.philosophy blockquote::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 2rem auto;
}

/* ---------------------------------------------
   Contact Section
   --------------------------------------------- */
.contact {
  background: var(--navy);
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content p {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.contact-btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transition: left 0.4s ease;
  z-index: -1;
}

.contact-btn:hover {
  color: var(--deep-navy);
}

.contact-btn:hover::before {
  left: 0;
}

.contact-info {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(201, 160, 92, 0.15);
}

.contact-info a {
  color: var(--gold);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--gold-light);
}

/* ---------------------------------------------
   Footer
   --------------------------------------------- */
footer {
  background: var(--deep-navy);
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid rgba(201, 160, 92, 0.1);
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

footer img {
  height: 30px;
  margin-bottom: 1rem;
  opacity: 0.7;
}

/* ---------------------------------------------
   Animations
   --------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------
   Mobile Navigation
   --------------------------------------------- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: var(--deep-navy);
  border-left: 1px solid rgba(201, 160, 92, 0.15);
  z-index: 2000;
  transition: right 0.4s ease;
  padding: 2rem;
}

.nav-mobile.active {
  right: 0;
}

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-mobile-links {
  list-style: none;
  margin-top: 4rem;
}

.nav-mobile-links li {
  margin-bottom: 2rem;
}

.nav-mobile-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-mobile-links a:hover {
  color: var(--gold);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 1500;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }
}

/* ---------------------------------------------
   Responsive
   --------------------------------------------- */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 5%;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
}
