/* ============================================
   ETERNION GROUP — Main Stylesheet
   Design inspired by Limbo PSD template
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #1a1a2e;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* ===== NAVIGATION ===== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.main-nav.scrolled {
  background: rgba(20, 20, 40, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #c0392b;
  border-radius: 50%;
}

.nav-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 1001;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(26,26,46,0.7) 0%, rgba(192,57,43,0.4) 50%, rgba(26,26,46,0.8) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><defs><linearGradient id="g" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" stop-color="%231a1a2e"/><stop offset="50%25" stop-color="%23c0392b" stop-opacity="0.3"/><stop offset="100%25" stop-color="%231a1a2e"/></linearGradient></defs><rect fill="url(%23g)" width="1440" height="900"/></svg>');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(192,57,43,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(44,62,80,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.6) 0%, rgba(100,40,40,0.3) 50%, rgba(26,26,46,0.7) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px 40px;
}

/* ===== BRAND ===== */
.brand {
  margin-bottom: 50px;
}

.brand-name {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: 20px;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  border: 3px solid rgba(255,255,255,0.3);
  line-height: 1;
}

.brand-tagline {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 15px;
  color: #c0392b;
  margin-top: 10px;
  text-transform: uppercase;
}

.brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  text-transform: uppercase;
}

/* ===== TILES GRID ===== */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 140px);
  gap: 6px;
  justify-content: center;
  margin-top: 40px;
}

.tile {
  width: 140px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.tile:hover::before {
  background: rgba(255,255,255,0.08);
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.tile-red {
  background: #c0392b;
}

.tile-dark {
  background: rgba(44, 62, 80, 0.85);
}

.tile-icon {
  font-size: 2rem;
  color: #fff;
}

.tile-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-transform: lowercase;
  letter-spacing: 1px;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px 40px;
  background: rgba(44,62,80,0.3);
  backdrop-filter: blur(5px);
}

.section-divider.dark {
  background: rgba(20,20,40,0.6);
}

.divider-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.divider-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  padding-bottom: 60px;
}

.welcome-content {
  text-align: center;
  padding: 50px 40px;
}

.welcome-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 2px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== SHOWCASE / SLIDER ===== */
.showcase-section {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 30%, #c0392b 100%);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.showcase-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.showcase-slides {
  position: relative;
  min-height: 320px;
}

.showcase-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.showcase-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  position: relative;
}

.slide-text {
  flex: 1;
}

.slide-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 15px;
}

.slide-highlight {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffeaa7;
  font-style: italic;
}

.slide-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Laptop Mockup */
.laptop-mockup {
  width: 300px;
  perspective: 800px;
}

.laptop-screen {
  background: #2c3e50;
  border-radius: 8px 8px 0 0;
  padding: 20px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #555;
  border-bottom: none;
  position: relative;
}

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

.screen-brand {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 8px;
}

.screen-sub {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 3px;
  margin-top: 5px;
}

.screen-colors {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 12px;
}

.screen-colors span {
  width: 30px;
  height: 6px;
  border-radius: 3px;
}

.laptop-base {
  width: 110%;
  margin-left: -5%;
  height: 12px;
  background: linear-gradient(180deg, #888 0%, #aaa 50%, #999 100%);
  border-radius: 0 0 4px 4px;
  position: relative;
}

.laptop-base::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #777;
  border-radius: 2px;
}

/* Dots */
.showcase-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background: #fff;
  transform: scale(1.1);
}

.dot:hover {
  background: rgba(255,255,255,0.8);
}

/* ===== PROCESS SECTION ===== */
.process-section {
  background: linear-gradient(180deg, #16213e 0%, #1a1a2e 50%, #16213e 100%);
}

.process-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
}

.process-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.process-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 50px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}

.process-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #c0392b;
}

.process-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 8px;
  text-transform: capitalize;
}

.process-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ===== VENTURES SECTION ===== */
.ventures-section {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f3460 50%, #1a1a2e 100%);
}

.ventures-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
}

.ventures-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.ventures-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 50px;
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.venture-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.venture-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.venture-icon {
  font-size: 2.2rem;
  color: #c0392b;
  margin-bottom: 20px;
}

.venture-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.venture-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.venture-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e74c3c;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.venture-link:hover {
  color: #fff;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(180deg, #16213e 0%, #1a1a2e 100%);
}

.cta-content {
  text-align: center;
  padding: 60px 40px;
}

.cta-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.cta-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 0;
  justify-content: center;
}

.btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 35px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: #c0392b;
  color: #fff;
  border: 2px solid #c0392b;
  border-radius: 25px 0 0 25px;
}

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

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  border-left: none;
  border-radius: 0 25px 25px 0;
}

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

/* ===== BLOG SECTION ===== */
.blog-section {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.blog-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.blog-card {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  padding: 25px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateX(5px);
}

.blog-date {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  padding: 10px;
  background: #c0392b;
  border-radius: 6px;
}

.blog-date .day {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.blog-date .month {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  margin-top: 4px;
}

.blog-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.blog-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 10px;
}

.blog-read-more {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #e74c3c;
  letter-spacing: 1px;
}

.blog-read-more:hover {
  color: #fff;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: #1a1a2e;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 14px 18px;
  color: #fff;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c0392b;
  background: rgba(255,255,255,0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

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

.contact-form .btn {
  align-self: flex-start;
  border-radius: 25px;
  margin-top: 5px;
}

/* ===== FOOTER ===== */
.main-footer {
  background: #111125;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-social span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  background: #c0392b;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
}

.footer-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.footer-info a {
  color: rgba(255,255,255,0.5);
}

.footer-info a:hover {
  color: #c0392b;
}

.footer-copyright {
  font-size: 0.7rem;
  color: #c0392b;
  letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ventures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(20,20,40,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    z-index: 999;
  }

  .nav-container.open {
    display: flex;
  }

  .nav-link {
    font-size: 0.9rem;
    letter-spacing: 4px;
  }

  .nav-toggle {
    display: flex;
  }

  .brand-name {
    font-size: 2.8rem;
    letter-spacing: 12px;
  }

  .brand-tagline {
    font-size: 0.9rem;
    letter-spacing: 10px;
  }

  .tiles-grid {
    grid-template-columns: repeat(2, 120px);
  }

  .tile {
    width: 120px;
    height: 110px;
  }

  .showcase-slide {
    flex-direction: column;
    text-align: center;
  }

  .slide-text h2 {
    font-size: 1.4rem;
  }

  .laptop-mockup {
    width: 240px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ventures-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    padding: 25px 30px;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 15px 30px;
    text-align: center;
  }

  .form-row {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary {
    border-radius: 25px;
  }

  .btn-outline {
    border-left: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
  }

  .blog-card {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 2rem;
    letter-spacing: 8px;
    padding: 8px 20px;
  }

  .brand-tagline {
    font-size: 0.75rem;
    letter-spacing: 8px;
  }

  .tiles-grid {
    grid-template-columns: repeat(2, 100px);
  }

  .tile {
    width: 100px;
    height: 95px;
  }

  .tile-icon {
    font-size: 1.5rem;
  }

  .welcome-quote {
    font-size: 1.1rem;
  }

  .process-content h2,
  .ventures-content h2,
  .cta-content h2 {
    font-size: 1.4rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-up.visible {
  animation: fadeInUp 0.7s ease forwards;
}

/* Stagger delay utilities */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
