/* Studio Noir - Main Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --white: #FFFFFF;
  --gray: #6C757D;
  --red: #DC3545;
  --light-gray: #F8F9FA;
  --dark-gray: #212529;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -1px;
  transition: color 0.3s;
}

.nav-logo:hover {
  color: var(--red);
}

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

.nav-menu a {
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s;
}

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--red);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-btn span {
  width: 28px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 20px 40px;
  transition: all 0.3s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--black);
  color: var(--white);
}

.mobile-menu.active {
  display: flex;
}

/* Section Styling */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 30px auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 18px 40px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--red);
  transition: left 0.3s;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  border-color: var(--red);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  color: var(--white);
}

.footer-col p {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.8;
}

.footer-col a {
  color: var(--gray);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 14px;
}

.demo-notice {
  margin-top: 15px;
  font-size: 13px;
}

.demo-notice a {
  color: var(--red);
  text-decoration: underline;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .nav-container {
    padding: 20px 30px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 42px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-container {
    padding: 20px;
  }

  .nav-menu {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
