/*
 * Asto Games - Custom CSS
 * Canyon Raid Website Styling
 */

/* ==========================================
   COLOR VARIABLES
   ========================================== */
:root {
  /* Canyon/Desert Theme Colors */
  --primary-orange: #E67E22;
  /* Warm canyon orange */
  --primary-dark: #C0652A;
  /* Deep canyon brown */
  --primary-light: #F39C12;
  /* Bright desert yellow */
  --accent-red: #D35400;
  /* Desert sunset red */
  --accent-yellow: #F1C40F;
  /* Bright sun yellow */
  --bg-light: #FDF6E3;
  /* Warm sand background */
  --bg-dark: #8B4513;
  /* Rich earth brown */
  --text-dark: #5D4037;
  /* Warm dark brown */
  --text-muted: #8D6E63;
  /* Muted brown */
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar-asto {
  background-color: var(--primary-dark) !important;
  border-bottom: 3px solid var(--accent-red);
  transition: all 0.3s ease;
}

.navbar-default .navbar-brand {
  color: #fff !important;
  font-weight: bold;
  font-size: 28px;
}

.navbar-logo {
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-default .navbar-nav>li>a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
  color: var(--accent-yellow) !important;
}

/* ==========================================
   HERO SECTION
   ========================================== */
header.hero-asto {
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.45) 0%, rgba(211, 84, 0, 0.55) 100%),
    url('../../img/header-bg.jpg') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

header.hero-asto .intro-text {
  padding-top: 100px;
  padding-bottom: 50px;
}

header.hero-asto .intro-lead-in {
  font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-size: 28px;
  line-height: 28px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header.hero-asto .intro-heading {
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 90px;
  line-height: 90px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 3px;
}

header.hero-asto .intro-subtitle {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Game Logo in Header */
.game-logo-header {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.game-logo-header:hover {
  transform: scale(1.02);
}

.hero-buttons {
  margin-top: 30px;
}

.hero-buttons .btn {
  margin: 10px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  background-color: var(--accent-red) !important;
  border-color: var(--accent-red) !important;
  color: #fff !important;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--accent-yellow) !important;
  border-color: var(--accent-yellow) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background-color: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================
   SECTIONS
   ========================================== */
section {
  padding: 100px 0;
}

section h2.section-heading {
  font-size: 42px;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--text-dark);
}

section h3.section-subheading {
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 50px;
  color: var(--text-muted);
}

.bg-light-gray {
  background-color: var(--bg-light);
}

/* ==========================================
   GAME ABOUT SECTION
   ========================================== */
#game {
  background: #fff;
}

.game-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.game-info-boxes {
  margin-top: 40px;
}

.game-info-boxes .fa-stack {
  color: var(--primary-orange);
}

.game-info-boxes .fa-stack:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
#features {
  background-color: var(--bg-light);
}

.features-grid {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
}

.feature-item {
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.feature-icon-wrapper .fa-stack {
  color: var(--primary-orange);
  transition: all 0.3s ease;
}

.feature-item:hover .fa-stack {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 15px var(--accent-red));
}

.feature-title {
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.feature-desc {
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================
   MEDIA GALLERY SECTION
   ========================================== */
#media {
  background: #fff;
}

.trailer-wrapper {
  margin-bottom: 60px;
}

.video-placeholder {
  background: #000;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  border-radius: 8px;
}

.video-placeholder .fa {
  color: var(--accent-red);
  margin-bottom: 20px;
}

.screenshots-grid {
  margin-top: 40px;
}

.screenshot-item {
  margin-bottom: 30px;
}

.screenshot-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.screenshot-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.screenshot-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.screenshot-wrapper:hover img {
  transform: scale(1.05);
}

.screenshot-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  padding: 20px 15px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.screenshot-wrapper:hover .screenshot-caption {
  opacity: 1;
}

.screenshot-caption p {
  margin: 0;
  font-size: 14px;
}

/* ==========================================
   TIMELINE (STORY) SECTION
   ========================================== */
#story {
  background-color: var(--bg-light);
}

.timeline>li .timeline-image {
  background-color: var(--primary-orange);
  border: 7px solid var(--accent-red);
}

.timeline>li.timeline-inverted>.timeline-panel {
  border-color: var(--primary-orange);
}

.timeline>li:not(.timeline-inverted)>.timeline-panel {
  border-color: var(--primary-orange);
}

/* ==========================================
   DEVELOPER SECTION
   ========================================== */
#developer {
  background: #fff;
  padding: 100px 0;
}

.developer-profile {
  margin-top: 50px;
}

.developer-photo-wrapper {
  margin-bottom: 20px;
}

.developer-photo-wrapper img {
  max-width: 250px;
  margin: 0 auto;
  border: 5px solid var(--primary-orange);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.developer-bio {
  text-align: left;
}

.developer-bio .lead {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.developer-bio p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.skills-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.skills-list li {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.skills-list .fa-check-circle {
  margin-right: 10px;
  color: var(--accent-red);
}

.social-buttons li a {
  background-color: var(--primary-orange);
  transition: all 0.3s ease;
}

.social-buttons li a:hover {
  background-color: var(--accent-red);
  transform: scale(1.1);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
#contact {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-orange) 100%);
  color: #fff;
}

#contact h2.section-heading,
#contact h3.section-subheading {
  color: #fff;
}

.contact-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
}

.contact-intro {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-methods {
  margin: 50px 0;
}

.contact-methods .fa {
  color: var(--accent-yellow);
  margin-bottom: 15px;
}

.contact-methods h4 {
  color: #fff;
  margin: 15px 0;
}

.contact-methods a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-methods a:hover {
  color: var(--accent-yellow);
}

#contact .form-control {
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

#contact .form-control:focus {
  border-color: var(--accent-red);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

#contact .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-placeholder {
  margin-top: 30px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

/* ==========================================
   NEWSLETTER SIGNUP
   ========================================== */
.newsletter-signup-section {
  margin-top: 60px;
  padding: 50px 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.newsletter-heading {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.newsletter-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#newsletter-email {
  flex: 1;
  padding: 15px 20px;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

#newsletter-email:focus {
  outline: none;
  border-color: var(--accent-yellow);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.2);
}

#newsletter-email::placeholder {
  color: rgba(93, 64, 55, 0.5);
}

#newsletter-submit {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background-color: var(--accent-red);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#newsletter-submit:hover:not(:disabled) {
  background-color: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
}

#newsletter-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#newsletter-submit.loading {
  position: relative;
  color: transparent;
}

#newsletter-submit.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.newsletter-message {
  display: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 15px;
  text-align: center;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newsletter-message-success {
  background-color: rgba(46, 204, 113, 0.9);
  color: #fff;
  border: 2px solid rgba(39, 174, 96, 1);
}

.newsletter-message-error {
  background-color: rgba(231, 76, 60, 0.9);
  color: #fff;
  border: 2px solid rgba(192, 57, 43, 1);
}

.newsletter-message-info {
  background-color: rgba(52, 152, 219, 0.9);
  color: #fff;
  border: 2px solid rgba(41, 128, 185, 1);
}

/* Responsive Newsletter Form */
@media (max-width: 576px) {
  .newsletter-form-group {
    flex-direction: column;
  }

  #newsletter-submit {
    width: 100%;
  }

  .newsletter-heading {
    font-size: 24px;
  }
}

/* ==========================================
   FOOTER
   ========================================== */
footer.footer-asto {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.footer-heading {
  color: #fff;
  margin-bottom: 30px;
}

footer .social-buttons {
  margin-bottom: 40px;
}

footer .social-buttons li a {
  background-color: var(--primary-orange);
  width: 50px;
  height: 50px;
  line-height: 50px;
}

footer .social-buttons li a:hover {
  background-color: var(--accent-red);
}

.btn-steam-footer {
  margin-bottom: 40px;
  padding: 15px 40px;
  font-size: 18px;
}

/* Custom Discord Icon - Font Awesome 4.5.0 doesn't have Discord */
.fa-discord:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="white" d="M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}


.footer-links-row {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

footer .quicklinks {
  margin: 0;
}

footer .quicklinks li {
  margin: 0 10px;
}

footer .quicklinks a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .quicklinks a:hover {
  color: var(--accent-yellow);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  header.hero-asto .intro-heading {
    font-size: 50px;
    line-height: 50px;
  }

  header.hero-asto .intro-lead-in {
    font-size: 20px;
  }

  .game-logo-header {
    max-width: 350px;
  }

  header.hero-asto .intro-subtitle {
    font-size: 18px;
  }

  section {
    padding: 60px 0;
  }

  section h2.section-heading {
    font-size: 32px;
  }

  .developer-bio {
    text-align: center;
    margin-top: 30px;
  }

  .skills-list {
    text-align: left;
    max-width: 300px;
    margin: 20px auto;
  }
}

@media (max-width: 480px) {
  header.hero-asto .intro-heading {
    font-size: 36px;
    line-height: 36px;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}