/* ===== RED-SALOONS Custom Styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary: #b71c1c;
  --primary-dark: #7f0000;
  --primary-light: #f05545;
  --secondary: #ffab00;
  --secondary-dark: #c67c00;
  --bg-dark: #1a1a1a;
  --bg-darker: #121212;
  --bg-card: #2a2a2a;
  --text-light: #f5f5f5;
  --text-muted: #bdbdbd;
  --gold: #d4a843;
  --gold-light: #f0d080;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-light);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s;
}

.nav-logo:hover {
  color: var(--gold-light);
}

.nav-logo .material-icons {
  font-size: 32px;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(212, 168, 67, 0.1);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 28px;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.92), rgba(127, 0, 0, 0.7)),
    url('https://images.unsplash.com/photo-1596394723269-e8e75e077675?w=1920') center/cover no-repeat;
  position: relative;
  padding: 0 24px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--bg-darker), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--secondary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 span {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  -webkit-text-fill-color: var(--text-muted);
  margin-top: 8px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(183, 28, 28, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(183, 28, 28, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(212, 168, 67, 0.1);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== FEATURES / SYSTEMS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 67, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.feature-icon.red {
  background: rgba(183, 28, 28, 0.15);
  color: var(--primary-light);
}

.feature-icon.gold {
  background: rgba(212, 168, 67, 0.15);
  color: var(--gold);
}

.feature-icon.green {
  background: rgba(46, 125, 50, 0.15);
  color: #66bb6a;
}

.feature-icon.blue {
  background: rgba(21, 101, 192, 0.15);
  color: #42a5f5;
}

.feature-icon.purple {
  background: rgba(106, 27, 154, 0.15);
  color: #ab47bc;
}

.feature-icon.orange {
  background: rgba(230, 126, 34, 0.15);
  color: #ffa726;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  border-top: 1px solid rgba(212, 168, 67, 0.1);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== ABOUT / HOW IT WORKS ===== */
.steps-container {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(183, 28, 28, 0.3);
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.step-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(183, 28, 28, 0.15), rgba(212, 168, 67, 0.1));
  border-top: 1px solid rgba(212, 168, 67, 0.1);
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 24px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer h4 {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer ul a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-socials a:hover {
  background: rgba(212, 168, 67, 0.15);
  color: var(--gold);
}

/* ===== DEVELOPER PAGE ===== */
.dev-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(127, 0, 0, 0.5)),
    url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=1920') center/cover no-repeat;
  padding-top: 70px;
  text-align: center;
}

.dev-profile {
  max-width: 1000px;
  margin: -60px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.profile-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 40px;
  align-items: center;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  min-width: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  box-shadow: 0 8px 30px rgba(183, 28, 28, 0.3);
}

.profile-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.profile-info .role {
  color: var(--primary-light);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.profile-info p {
  color: var(--text-muted);
  line-height: 1.7;
}

.profile-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.detail-chip .material-icons {
  font-size: 18px;
  color: var(--gold);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.skill-card:hover {
  border-color: rgba(212, 168, 67, 0.2);
  transform: translateY(-2px);
}

.skill-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-light);
}

.skill-card h3 .material-icons {
  color: var(--gold);
}

.skill-bar-container {
  margin-bottom: 12px;
}

.skill-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.skill-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

.skill-bar-fill.red { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.skill-bar-fill.gold { background: linear-gradient(90deg, var(--secondary-dark), var(--gold)); }
.skill-bar-fill.blue { background: linear-gradient(90deg, #1565c0, #42a5f5); }
.skill-bar-fill.green { background: linear-gradient(90deg, #2e7d32, #66bb6a); }
.skill-bar-fill.purple { background: linear-gradient(90deg, #6a1b9a, #ab47bc); }

/* Timeline */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(212, 168, 67, 0.2);
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}

.timeline-dot {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-dot .material-icons {
  font-size: 20px;
  color: var(--gold);
}

.timeline-content {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1;
}

.timeline-content .date {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  z-index: 999;
}

.mobile-menu.show {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.05rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold);
  background: rgba(212, 168, 67, 0.1);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: block;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .profile-details {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h1 span {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .profile-avatar {
    width: 120px;
    height: 120px;
    min-width: 120px;
    font-size: 2.8rem;
  }
}
