@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Rubik+Doodle+Shadow&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #0a0a0a;
  background-image: url('assets/dark-ice-texture.jpg');
  background-size: cover;
  background-attachment: fixed;
  color: #ffcc00;
  font-family: 'Orbitron', sans-serif;
}

/* HEADER */
header {
  background: linear-gradient(to right, #330000, #1a0000);
  padding: 2rem 0;
  text-align: center;
  border-bottom: 4px solid #ff6600;
  box-shadow: 0 0 20px #ff3300;
}

header h1 {
  font-size: 3rem;
  color: #ff3300;
  text-shadow: 0 0 20px #ff6600;
  font-family: 'Rubik Doodle Shadow', cursive;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

nav a {
  color: #ffd6a0;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.3s ease;
  font-weight: bold;
}

nav a:hover {
  color: #ff6600;
  text-shadow: 0 0 10px #ff6600;
}

/* MAIN LAYOUT */
main {
  flex: 1 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* LOGO */
.logo-section {
  text-align: center;
  padding: 2rem 0;
}

.logo-section img {
  max-width: 180px;
  filter: drop-shadow(0 0 10px #ff4500);
  transition: transform 0.4s ease;
}

.logo-section img:hover {
  transform: rotate(1deg) scale(1.1);
}

/* FIRE OPENING SECTION */
.opening-section {
  background: radial-gradient(circle at center, #330000 0%, #1a0000 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
  border-left: 5px solid #ff4500;
  box-shadow: inset 0 0 20px #ff3300;
}

.opening-content {
  flex: 1;
  min-width: 300px;
}

.opening-content h2 {
  color: #ff4500;
  font-size: 2rem;
  text-shadow: 0 0 8px #ff6600;
}

.opening-content p {
  color: #f0c090;
  line-height: 1.6;
  margin-top: 1rem;
}

.opening-content a {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: transparent;
  color: #ff9933;
  border: 2px solid #ff9933;
  border-radius: 4px;
  text-transform: uppercase;
  transition: 0.3s ease-in-out;
}

.opening-content a:hover {
  background-color: #ff9933;
  color: #1a0000;
  box-shadow: 0 0 15px #ff6600;
}

.opening-image {
  flex: 1;
  min-width: 300px;
}

.opening-image img {
  max-width: 250px;
  border-radius: 8px;
  box-shadow: 0 0 30px #ff4500;
}

/* ABOUT ME SECTION */
.about-me-section {
  margin-top: 2rem;
  background-color: #1a0a0a;
  padding: 2rem;
  border-left: 5px solid #ff3300;
  box-shadow: 0 0 15px #ff3300;
}

.about-me-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-me-text {
  flex: 1;
  min-width: 300px;
}

.about-me-text h2 {
  color: #ff6600;
  font-size: 2rem;
  text-shadow: 0 0 8px #ff6600;
}

.highlight-card {
  background-color: #330000;
  padding: 1rem;
  margin-top: 1rem;
  border-left: 4px solid #ffcc00;
  box-shadow: 0 0 10px #ffcc00;
}

.highlight-card h4 {
  color: #ffcc00;
}

.highlight-card p {
  color: #ddd;
}

.about-me-photo img {
  max-width: 250px;
  border-radius: 8px;
  box-shadow: 0 0 20px #ff6600;
}

/* PORTFOLIO */
.portfolio-section {
  padding: 3rem 0;
  background: linear-gradient(to bottom, #1a0000, #260000);
}

.portfolio-section h3 {
  font-size: 2rem;
  color: #ff9933;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 12px #ff6600;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.portfolio-item {
  background-color: #2b0a00;
  padding: 2rem;
  flex: 1 1 250px;
  border-left: 4px solid #ff3300;
  box-shadow: 0 0 12px #ff4500;
  transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item h4 {
  color: #ff6600;
  margin-bottom: 1rem;
}

.portfolio-item p {
  color: #ffcfa3;
}

/* FOOTER */
footer {
  flex-shrink: 0;
  background-color: #1a0000;
  color: #c08060;
  padding: 2rem 0;
  text-align: center;
  border-top: 2px solid #ff6600;
  box-shadow: 0 -2px 20px #ff3300;
}

footer a {
  color: #ffaa66;
  margin: 0 10px;
  text-decoration: none;
}

footer a:hover {
  color: #ff3300;
  text-shadow: 0 0 10px #ff3300;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    justify-content: center;
  }

  .opening-section {
    flex-direction: column;
  }

  .opening-content, .opening-image {
    flex: 1 0 100%;
  }
}

/* Interactive page custom styles */
    .about-me-text button {
      display: inline-block;
      margin-top: 1rem;
      padding: 0.8rem 1.5rem;
      background-color: transparent;
      color: #ff9933;
      border: 2px solid #ff9933;
      border-radius: 4px;
      text-transform: uppercase;
      font-weight: bold;
      cursor: pointer;
      transition: 0.3s ease-in-out;
    }

    .about-me-text button:hover {
      background-color: #ff9933;
      color: #1a0000;
      box-shadow: 0 0 15px #ff6600;
    }

    .about-me-text input[type="text"] {
      padding: 0.6rem;
      margin-top: 0.5rem;
      border: 2px solid #ff6600;
      border-radius: 4px;
      background-color: #0a0a0a;
      color: #ffcc00;
      width: 80%;
      max-width: 300px;
      outline: none;
      box-shadow: 0 0 10px #ff3300 inset;
    }

    .about-me-text input[type="radio"] {
      accent-color: #ff4500;
      margin-right: 5px;
    }

    #messageArea, #nameDisplay, #moodResult {
      margin-top: 1rem;
      color: #ffcc66;
      font-weight: bold;
      text-shadow: 0 0 8px #ff4500;
    }